Class JwtBearerAssertionGrant


  • @Introspected
    public class JwtBearerAssertionGrant
    extends java.lang.Object
    JWT bearer assertion grant.
    Since:
    1.2.0
    Author:
    Sergio del Amo
    See Also:
    Using JWTs as Authorization Grants
    • Constructor Detail

      • JwtBearerAssertionGrant

        public JwtBearerAssertionGrant()
        Default Constructor.
    • Method Detail

      • getGrantType

        @Nonnull
        public java.lang.String getGrantType()
        Returns:
        urn:ietf:params:oauth:grant-type:saml2-bearer.
      • getScope

        @Nullable
        public java.lang.String getScope()
        Returns:
        Requested scope values for the access token.
      • setScope

        public void setScope​(@Nullable
                             java.lang.String scope)
        Parameters:
        scope - Requested scope values for the access token.
      • getAssertion

        @Nonnull
        public java.lang.String getAssertion()
        Returns:
        The JWT assertion.
      • setAssertion

        public void setAssertion​(@Nonnull
                                 java.lang.String assertion)
        Parameters:
        assertion - The JWT assertion.