Package net.stickycode.kuuty.model.v18
Class IoK8sApiAuthenticationV1TokenRequestSpec
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAuthenticationV1TokenRequestSpec
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAuthenticationV1TokenRequestSpec extends Object
TokenRequestSpec contains client provided parameters of a token request.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AUDIENCESstatic StringJSON_PROPERTY_BOUND_OBJECT_REFstatic StringJSON_PROPERTY_EXPIRATION_SECONDS
-
Constructor Summary
Constructors Constructor Description IoK8sApiAuthenticationV1TokenRequestSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiAuthenticationV1TokenRequestSpecaddAudiencesItem(String audiencesItem)IoK8sApiAuthenticationV1TokenRequestSpecaudiences(List<String> audiences)IoK8sApiAuthenticationV1TokenRequestSpecboundObjectRef(IoK8sApiAuthenticationV1BoundObjectReference boundObjectRef)booleanequals(Object o)IoK8sApiAuthenticationV1TokenRequestSpecexpirationSeconds(Long expirationSeconds)List<String>getAudiences()Audiences are the intendend audiences of the token.IoK8sApiAuthenticationV1BoundObjectReferencegetBoundObjectRef()Get boundObjectRefLonggetExpirationSeconds()ExpirationSeconds is the requested duration of validity of the request.inthashCode()voidsetAudiences(List<String> audiences)voidsetBoundObjectRef(IoK8sApiAuthenticationV1BoundObjectReference boundObjectRef)voidsetExpirationSeconds(Long expirationSeconds)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_AUDIENCES
public static final String JSON_PROPERTY_AUDIENCES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BOUND_OBJECT_REF
public static final String JSON_PROPERTY_BOUND_OBJECT_REF
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXPIRATION_SECONDS
public static final String JSON_PROPERTY_EXPIRATION_SECONDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
audiences
public IoK8sApiAuthenticationV1TokenRequestSpec audiences(List<String> audiences)
-
addAudiencesItem
public IoK8sApiAuthenticationV1TokenRequestSpec addAudiencesItem(String audiencesItem)
-
getAudiences
public List<String> getAudiences()
Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.- Returns:
- audiences
-
boundObjectRef
public IoK8sApiAuthenticationV1TokenRequestSpec boundObjectRef(IoK8sApiAuthenticationV1BoundObjectReference boundObjectRef)
-
getBoundObjectRef
@Nullable public IoK8sApiAuthenticationV1BoundObjectReference getBoundObjectRef()
Get boundObjectRef- Returns:
- boundObjectRef
-
setBoundObjectRef
public void setBoundObjectRef(IoK8sApiAuthenticationV1BoundObjectReference boundObjectRef)
-
expirationSeconds
public IoK8sApiAuthenticationV1TokenRequestSpec expirationSeconds(Long expirationSeconds)
-
getExpirationSeconds
@Nullable public Long getExpirationSeconds()
ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.- Returns:
- expirationSeconds
-
setExpirationSeconds
public void setExpirationSeconds(Long expirationSeconds)
-
-