Class OpenIdTokenResponse

java.lang.Object
io.micronaut.security.oauth2.endpoint.token.response.TokenResponse
io.micronaut.security.oauth2.endpoint.token.response.OpenIdTokenResponse

@Introspected public class OpenIdTokenResponse extends TokenResponse
Id Token Access Token Response. After receiving and validating a valid and authorized Token Request from the Client, the Authorization Server returns a successful response that includes an ID Token and an Access Token.
Since:
1.2.0
Author:
Sergio del Amo
See Also:
  • Constructor Details

    • OpenIdTokenResponse

      public OpenIdTokenResponse()
  • Method Details

    • getIdToken

      @NonNull public @NonNull String getIdToken()
      Returns:
      ID Token value associated with the authenticated session.
    • setIdToken

      public void setIdToken(@NonNull @NonNull String idToken)
      Parameters:
      idToken - ID Token value associated with the authenticated session.