ClientBuilder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
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 |
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 |
WithScopes(String[]) |
Adds the |