Class AccessTokenClaimsSet.Builder

    • Constructor Detail

      • Builder

        public Builder​(@Nonnull
                       IdentifierGenerationStrategy idGenerator,
                       @Nonnull
                       com.nimbusds.oauth2.sdk.id.ClientID clientID,
                       @Nonnull
                       String issuer,
                       @Nonnull
                       String userPrincipal,
                       @Nonnull
                       String subject,
                       @Nonnull
                       Instant issuedAt,
                       @Nonnull
                       Instant expiresAt,
                       @Nonnull
                       Instant authenticationTime,
                       @Nonnull
                       URI redirectURI,
                       @Nonnull
                       com.nimbusds.oauth2.sdk.Scope scope)
        Constructor for access token builder.
        Parameters:
        idGenerator - Generator for pseudo unique identifier for the code. Must not be NULL.
        clientID - Client Id of the rp. Must not be NULL.
        issuer - OP issuer value. Must not be NULL.
        userPrincipal - User Principal of the authenticated user. Must not be NULL.
        subject - subject of the authenticated user. Must not be NULL
        issuedAt - Issue time of the authorize code. Must not be NULL.
        expiresAt - Expiration time of the authorize code. Must not be NULL.
        authenticationTime - Authentication time of the user. Must not be NULL.
        redirectURI - Validated redirect URI of the authentication request. Must not be NULL.
        scope - Scope of the authentication request. Must not be NULL.