64 lines
1.3 KiB
Java
64 lines
1.3 KiB
Java
package com.eactive.eai.authserver.custom;
|
|
|
|
import java.io.Serializable;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
@SuppressWarnings("serial")
|
|
public class KjbMGOAuth2AccessTokenRequest implements Serializable {
|
|
@JsonProperty("grant_type")
|
|
private String grantType;
|
|
@JsonProperty("client_id")
|
|
private String clientId;
|
|
@JsonProperty("client_secret")
|
|
private String clientSecret;
|
|
private String resource;
|
|
private String scope;
|
|
|
|
public String getGrantType() {
|
|
return grantType;
|
|
}
|
|
|
|
public void setGrantType(String grantType) {
|
|
this.grantType = grantType;
|
|
}
|
|
|
|
public String getClientId() {
|
|
return clientId;
|
|
}
|
|
|
|
public void setClientId(String clientId) {
|
|
this.clientId = clientId;
|
|
}
|
|
|
|
public String getClientSecret() {
|
|
return clientSecret;
|
|
}
|
|
|
|
public void setClientSecret(String clientSecret) {
|
|
this.clientSecret = clientSecret;
|
|
}
|
|
|
|
public String getResource() {
|
|
return resource;
|
|
}
|
|
|
|
public void setResource(String resource) {
|
|
this.resource = resource;
|
|
}
|
|
|
|
public String getScope() {
|
|
return scope;
|
|
}
|
|
|
|
public void setScope(String scope) {
|
|
this.scope = scope;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "KjbMGOAuth2AccessTokenRequest [grantType=" + grantType + ", clientId=" + clientId + ", clientSecret="
|
|
+ clientSecret + ", resource=" + resource + ", scope=" + scope + "]";
|
|
}
|
|
}
|