JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.ssooidc.model

Class CreateTokenResult

    • Constructor Detail

      • CreateTokenResult

        public CreateTokenResult()
    • Method Detail

      • setAccessToken

        public void setAccessToken(String accessToken)

        A bearer token to access Amazon Web Services accounts and applications assigned to a user.

        Parameters:
        accessToken - A bearer token to access Amazon Web Services accounts and applications assigned to a user.
      • getAccessToken

        public String getAccessToken()

        A bearer token to access Amazon Web Services accounts and applications assigned to a user.

        Returns:
        A bearer token to access Amazon Web Services accounts and applications assigned to a user.
      • withAccessToken

        public CreateTokenResult withAccessToken(String accessToken)

        A bearer token to access Amazon Web Services accounts and applications assigned to a user.

        Parameters:
        accessToken - A bearer token to access Amazon Web Services accounts and applications assigned to a user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTokenType

        public void setTokenType(String tokenType)

        Used to notify the client that the returned token is an access token. The supported token type is Bearer.

        Parameters:
        tokenType - Used to notify the client that the returned token is an access token. The supported token type is Bearer.
      • getTokenType

        public String getTokenType()

        Used to notify the client that the returned token is an access token. The supported token type is Bearer.

        Returns:
        Used to notify the client that the returned token is an access token. The supported token type is Bearer.
      • withTokenType

        public CreateTokenResult withTokenType(String tokenType)

        Used to notify the client that the returned token is an access token. The supported token type is Bearer.

        Parameters:
        tokenType - Used to notify the client that the returned token is an access token. The supported token type is Bearer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setExpiresIn

        public void setExpiresIn(Integer expiresIn)

        Indicates the time in seconds when an access token will expire.

        Parameters:
        expiresIn - Indicates the time in seconds when an access token will expire.
      • getExpiresIn

        public Integer getExpiresIn()

        Indicates the time in seconds when an access token will expire.

        Returns:
        Indicates the time in seconds when an access token will expire.
      • withExpiresIn

        public CreateTokenResult withExpiresIn(Integer expiresIn)

        Indicates the time in seconds when an access token will expire.

        Parameters:
        expiresIn - Indicates the time in seconds when an access token will expire.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRefreshToken

        public void setRefreshToken(String refreshToken)

        A token that, if present, can be used to refresh a previously issued access token that might have expired.

        For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

        Parameters:
        refreshToken - A token that, if present, can be used to refresh a previously issued access token that might have expired.

        For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

      • getRefreshToken

        public String getRefreshToken()

        A token that, if present, can be used to refresh a previously issued access token that might have expired.

        For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

        Returns:
        A token that, if present, can be used to refresh a previously issued access token that might have expired.

        For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

      • withRefreshToken

        public CreateTokenResult withRefreshToken(String refreshToken)

        A token that, if present, can be used to refresh a previously issued access token that might have expired.

        For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

        Parameters:
        refreshToken - A token that, if present, can be used to refresh a previously issued access token that might have expired.

        For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIdToken

        public void setIdToken(String idToken)

        The idToken is not implemented or supported. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

        A JSON Web Token (JWT) that identifies who is associated with the issued access token.

        Parameters:
        idToken - The idToken is not implemented or supported. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

        A JSON Web Token (JWT) that identifies who is associated with the issued access token.

      • getIdToken

        public String getIdToken()

        The idToken is not implemented or supported. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

        A JSON Web Token (JWT) that identifies who is associated with the issued access token.

        Returns:
        The idToken is not implemented or supported. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

        A JSON Web Token (JWT) that identifies who is associated with the issued access token.

      • withIdToken

        public CreateTokenResult withIdToken(String idToken)

        The idToken is not implemented or supported. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

        A JSON Web Token (JWT) that identifies who is associated with the issued access token.

        Parameters:
        idToken - The idToken is not implemented or supported. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

        A JSON Web Token (JWT) that identifies who is associated with the issued access token.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /