AuthRequestParams 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 AuthRequestParams sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.Security.Authentication.OAuth.IAuthRequestParamsFactory, 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 AuthRequestParams final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Security.Authentication.OAuth.IAuthRequestParamsFactory), 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 AuthRequestParams
function AuthRequestParams(responseType, clientId, redirectUri)
Public NotInheritable Class AuthRequestParams
- Inheritance
- Attributes
Constructors
AuthRequestParams(String, String, Uri) |
Creates an AuthRequestParams object with responseType, clientId, and redirectUri parameters provided. |
AuthRequestParams(String, String) |
Creates an AuthRequestParams object with responseType and clientId parameters. |
Properties
AdditionalParams |
Additional parameters provided in the query string of the request URL. |
ClientId |
Specifies the required |
CodeChallenge |
Used as the Proof Key for Code Exchange (PKCE) |
CodeChallengeMethod |
Specifies the optional |
RedirectUri |
Specifies the optional |
ResponseType |
Specifies the required |
Scope |
Specifies the optional |
State |
Specifies the recommended |
Methods
CreateForAuthorizationCodeRequest(String, Uri) |
Helper method to create an authorization code grant request ( |
CreateForAuthorizationCodeRequest(String) |
Helper method to create an authorization code grant request ( |