
net.smartcosmos.userdetails.domain.rest.AuthenticateDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartcosmos-user-details Show documentation
Show all versions of smartcosmos-user-details Show documentation
REST Controller for hooking into the DAO implementations
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