All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.smartcosmos.userdetails.domain.rest.AuthenticateDetails Maven / Gradle / Ivy

The newest version!
package net.smartcosmos.userdetails.domain.rest;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@Builder
@AllArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class AuthenticateDetails {

    public static final String GRANT_TYPE = "grant_type";
    public static final String SCOPE = "scope";
    public static final String USERNAME = "username";

    private static final int VERSION_1 = 1;
    private final int version = VERSION_1;

    @JsonProperty(GRANT_TYPE)
    private String grantType;

    @JsonProperty(SCOPE)
    private String scope;

    @JsonProperty(USERNAME)
    private String username;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy