Class OidcUserRequest

    • Constructor Detail

      • OidcUserRequest

        public OidcUserRequest​(ClientRegistration clientRegistration,
                               OAuth2AccessToken accessToken,
                               OidcIdToken idToken)
        Constructs an OidcUserRequest using the provided parameters.
        Parameters:
        clientRegistration - the client registration
        accessToken - the access token credential
        idToken - the ID Token
      • OidcUserRequest

        public OidcUserRequest​(ClientRegistration clientRegistration,
                               OAuth2AccessToken accessToken,
                               OidcIdToken idToken,
                               java.util.Map<java.lang.String,​java.lang.Object> additionalParameters)
        Constructs an OidcUserRequest using the provided parameters.
        Parameters:
        clientRegistration - the client registration
        accessToken - the access token credential
        idToken - the ID Token
        additionalParameters - the additional parameters, may be empty
        Since:
        5.1
    • Method Detail

      • getIdToken

        public OidcIdToken getIdToken()
        Returns the ID Token containing claims about the user.
        Returns:
        the OidcIdToken containing claims about the user.