| Name | Description | |
|---|---|---|
![]() | OAuthAuthenticationProviderOptionsBuilder Constructor | Overloaded. Initializes a new instance of the OAuthAuthenticationProviderOptionsBuilder class. |
The following tables list the members exposed by OAuthAuthenticationProviderOptionsBuilder.
| Name | Description | |
|---|---|---|
![]() | OAuthAuthenticationProviderOptionsBuilder Constructor | Overloaded. Initializes a new instance of the OAuthAuthenticationProviderOptionsBuilder class. |
| Name | Description | |
|---|---|---|
![]() | Build | Validates and returns the built options. Throws System.InvalidOperationException if the client ID, client secret, or redirect URLs are not specified. |
![]() | WithClientId | Sets the OAuth 2.0 client ID. |
![]() | WithClientSecret | Sets the OAuth 2.0 client secret. |
![]() | WithHost | Sets the host of the authorization server. |
![]() | WithOptionalScopes | Sets the optional scopes to request. |
![]() | WithProxy | Sets the proxy used to connect to the authorization server. |
![]() | WithRedirect | Sets a single redirect URL and the local port on which the provider waits for the authorization response. |
![]() | WithRedirectUrls | Sets the redirect URLs and their local ports. The first port that can be opened is used. |
![]() | WithScopes | Sets the scopes to request. |
![]() | WithTimeout | Sets the time, in seconds, to wait for the sign-in in the browser and for the token response. The default value is 600. A value of 0 means no limit. |
![]() | WithTokenCache | Sets the token cache. |
![]() | WithUserAgent | Sets the value of the User-Agent HTTP header. |
![]() | WithUserId | Sets the ID of the user to sign in as. |