ClientBuilder Class

Definition

A builder for Clients.

public ref class ClientBuilder
public class ClientBuilder
type ClientBuilder = class
Public Class ClientBuilder
Inheritance
ClientBuilder

Constructors

ClientBuilder()

Initializes a new instance of ClientBuilder.

ClientBuilder(Client)

Initializes a new intance of ClientBuilder.

Methods

Build()

Builds the client.

IdentityServerSPA(String)

Creates a new builder for a single page application that coexists with an authorization server.

NativeApp(String)

Creates a new builder for an externally registered native application.

SPA(String)

Creates a new builder for an externally registered single page application.

WithApplicationProfile(String)

Sets the application profile for the client.

WithClientId(String)

Updates the client id (and name) of the client.

WithLogoutRedirectUri(String)

Adds the logoutUri to the list of valid logout redirect uris for the client.

WithoutClientSecrets()

Removes any configured client secret from the client and configures it to not require a client secret for getting tokens from the token endpoint.

WithRedirectUri(String)

Adds the redirectUri to the list of valid redirect uris for the client.

WithScopes(String[])

Adds the scopes to the list of allowed scopes for the client.

Applies to