Class TokenRefreshRequest

java.lang.Object
io.micronaut.security.endpoints.TokenRefreshRequest

public class TokenRefreshRequest extends Object
Encapsulate the request to get a new access token.
Since:
1.0
Author:
Sergio del Amo
  • Field Details

  • Constructor Details

    • TokenRefreshRequest

      public TokenRefreshRequest(@NonNull @NonNull String grantType, @NonNull @NonNull String refreshToken)
      Parameters:
      grantType - Grant type
      refreshToken - Refresh token
  • Method Details

    • getGrantType

      @NonNull public @NonNull String getGrantType()
      grantType getter.
      Returns:
      e.g refresh_token
    • getRefreshToken

      @NonNull public @NonNull String getRefreshToken()
      refreshToken getter.
      Returns:
      e.g. XXXXX