Class SAML2BearerGrant


  • @Immutable
    public class SAML2BearerGrant
    extends AssertionGrant
    SAML 2.0 bearer grant. Used in access token requests with a SAML 2.0 bearer assertion.

    Related specifications:

    • Assertion Framework for OAuth 2.0 Client Authentication and Authorization Grants (RFC 7521), section 4.1.
    • SAML 2.0 Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC 7522), section-2.1.
    • Constructor Detail

      • SAML2BearerGrant

        public SAML2BearerGrant​(com.nimbusds.jose.util.Base64URL assertion)
        Creates a new SAML 2.0 bearer assertion grant.
        Parameters:
        assertion - The SAML 2.0 bearer assertion. Must not be null.