Class OAuthAuthorizeToken

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<OAuthAuthorizeTokenBuilder>, io.fabric8.kubernetes.api.model.HasMetadata, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class OAuthAuthorizeToken
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<OAuthAuthorizeTokenBuilder>, io.fabric8.kubernetes.api.model.HasMetadata
    OAuthAuthorizeToken describes an OAuth authorization token


    Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

    See Also:
    Serialized Form
    • Constructor Detail

      • OAuthAuthorizeToken

        public OAuthAuthorizeToken()
        No args constructor for use in serialization
    • Method Detail

      • getApiVersion

        public String getApiVersion()
        APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
        Specified by:
        getApiVersion in interface io.fabric8.kubernetes.api.model.HasMetadata
      • setApiVersion

        public void setApiVersion​(String apiVersion)
        APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
        Specified by:
        setApiVersion in interface io.fabric8.kubernetes.api.model.HasMetadata
      • getClientName

        public String getClientName()
        clientName references the client that created this token.
      • setClientName

        public void setClientName​(String clientName)
        clientName references the client that created this token.
      • getCodeChallenge

        public String getCodeChallenge()
        codeChallenge is the optional code_challenge associated with this authorization code, as described in rfc7636
      • setCodeChallenge

        public void setCodeChallenge​(String codeChallenge)
        codeChallenge is the optional code_challenge associated with this authorization code, as described in rfc7636
      • getCodeChallengeMethod

        public String getCodeChallengeMethod()
        codeChallengeMethod is the optional code_challenge_method associated with this authorization code, as described in rfc7636
      • setCodeChallengeMethod

        public void setCodeChallengeMethod​(String codeChallengeMethod)
        codeChallengeMethod is the optional code_challenge_method associated with this authorization code, as described in rfc7636
      • getExpiresIn

        public Long getExpiresIn()
        expiresIn is the seconds from CreationTime before this token expires.
      • setExpiresIn

        public void setExpiresIn​(Long expiresIn)
        expiresIn is the seconds from CreationTime before this token expires.
      • getKind

        public String getKind()
        Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
        Specified by:
        getKind in interface io.fabric8.kubernetes.api.model.HasMetadata
      • setKind

        public void setKind​(String kind)
        Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      • getMetadata

        public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()
        OAuthAuthorizeToken describes an OAuth authorization token


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

        Specified by:
        getMetadata in interface io.fabric8.kubernetes.api.model.HasMetadata
      • setMetadata

        public void setMetadata​(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
        OAuthAuthorizeToken describes an OAuth authorization token


        Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

        Specified by:
        setMetadata in interface io.fabric8.kubernetes.api.model.HasMetadata
      • getRedirectURI

        public String getRedirectURI()
        redirectURI is the redirection associated with the token.
      • setRedirectURI

        public void setRedirectURI​(String redirectURI)
        redirectURI is the redirection associated with the token.
      • getScopes

        public List<String> getScopes()
        scopes is an array of the requested scopes.
      • setScopes

        public void setScopes​(List<String> scopes)
        scopes is an array of the requested scopes.
      • getState

        public String getState()
        state data from request
      • setState

        public void setState​(String state)
        state data from request
      • getUserName

        public String getUserName()
        userName is the user name associated with this token
      • setUserName

        public void setUserName​(String userName)
        userName is the user name associated with this token
      • getUserUID

        public String getUserUID()
        userUID is the unique UID associated with this token. UserUID and UserName must both match for this token to be valid.
      • setUserUID

        public void setUserUID​(String userUID)
        userUID is the unique UID associated with this token. UserUID and UserName must both match for this token to be valid.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)