TokenRequestParams 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.
public ref class TokenRequestParams sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.Security.Authentication.OAuth.ITokenRequestParamsFactory, 65536, "Microsoft.Security.Authentication.OAuth.OAuthContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Security.Authentication.OAuth.OAuthContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TokenRequestParams final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Security.Authentication.OAuth.ITokenRequestParamsFactory), 65536, "Microsoft.Security.Authentication.OAuth.OAuthContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Security.Authentication.OAuth.OAuthContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TokenRequestParams
function TokenRequestParams(grantType)
Public NotInheritable Class TokenRequestParams
- Inheritance
- Attributes
Constructors
TokenRequestParams(String) |
Creates a new instance of the TokenRequestParams class. |
Properties
AdditionalParams |
Additional parameters included in the query string of the request URL. |
ClientId |
Specifies the |
Code |
Specifies the |
CodeVerifier |
Specifies the |
GrantType |
Specifies the required |
Password |
Specifies the |
RedirectUri |
Specifies the |
RefreshToken |
Specifies the |
Scope |
Specifies the |
Username |
Specifies the |
Methods
CreateForAuthorizationCodeRequest(AuthResponse) |
A helper method to create for an authorization code grant request ( |
CreateForClientCredentials() |
A helper method to create for a client credentials grant request ( |
CreateForExtension(Uri) |
A helper method to create for an extension grant request, using the provided URI for the grant type. |
CreateForRefreshToken(String) |
A helper method to create for an access token refresh request ( |