Class JwtBearerAssertionGrant

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

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

    • JwtBearerAssertionGrant

      public JwtBearerAssertionGrant()
  • Method Details

    • getGrantType

      @NonNull public @NonNull String getGrantType()
      Returns:
      urn:ietf:params:oauth:grant-type:jwt-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 JWT assertion.
    • setAssertion

      public void setAssertion(@NonNull @NonNull String assertion)
      Parameters:
      assertion - The JWT assertion.