Class RefreshTokenGrant

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

@Introspected public class RefreshTokenGrant extends Object
Refresh Token Grant.
Since:
1.2.0
Author:
Sergio del Amo
See Also:
  • Constructor Details

    • RefreshTokenGrant

      public RefreshTokenGrant()
  • Method Details

    • getGrantType

      @NonNull public @NonNull String getGrantType()
      Returns:
      refresh_token
    • getScope

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

      public void setScope(@Nullable @Nullable String scope)
      Parameters:
      scope - requested scope values for the new access token.
    • getRefreshToken

      @NonNull public @NonNull String getRefreshToken()
      Returns:
      The refresh token issued to the client.
    • setRefreshToken

      public void setRefreshToken(@NonNull @NonNull String refreshToken)
      Parameters:
      refreshToken - The refresh token issued to the client.