Class SamlBearerAssertionGrant

java.lang.Object
io.micronaut.security.oauth2.grants.SamlBearerAssertionGrant

@Introspected public class SamlBearerAssertionGrant extends Object
SAML 2.0 bearer assertion grant.
Since:
1.2.0
Author:
Sergio del Amo
See Also:
  • Constructor Details

    • SamlBearerAssertionGrant

      public SamlBearerAssertionGrant()
  • Method Details

    • getGrantType

      @NonNull public @NonNull String getGrantType()
      Returns:
      urn:ietf:params:oauth:grant-type:saml2-bearer
    • getScope

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

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

      @NonNull public @NonNull String getAssertion()
      Returns:
      The SAML 2.0 assertion, base 64 URL encoded.
    • setAssertion

      public void setAssertion(@NonNull @NonNull String assertion)
      Parameters:
      assertion - The SAML 2.0 assertion, base 64 URL encoded.