Class ExternalAccountSupplierContext

    • Field Detail

      • audience

        private final java.lang.String audience
      • subjectTokenType

        private final java.lang.String subjectTokenType
    • Method Detail

      • getAudience

        public java.lang.String getAudience()
        Returns the credentials' expected audience.
        Returns:
        the requested audience. For example: "//iam.googleapis.com/locations/global/workforcePools/$WORKFORCE_POOL_ID/providers/$PROVIDER_ID".
      • getSubjectTokenType

        public java.lang.String getSubjectTokenType()
        Returns the credentials' expected Security Token Service subject token type based on the OAuth 2.0 token exchange spec.

        Expected values:

        "urn:ietf:params:oauth:token-type:jwt" "urn:ietf:params:aws:token-type:aws4_request" "urn:ietf:params:oauth:token-type:saml2" "urn:ietf:params:oauth:token-type:id_token"

        Returns:
        the requested subject token type. For example: "urn:ietf:params:oauth:token-type:jwt".