Share via


WebTokenRequest Constructors

Definition

Overloads

WebTokenRequest(WebAccountProvider)

Initializes a new instance of the WebTokenRequest class with one input.

WebTokenRequest(WebAccountProvider, String)

Initializes a new instance of the WebTokenRequest class with two inputs.

WebTokenRequest(WebAccountProvider, String, String)

Initializes a new instance of the WebTokenRequest class with three inputs.

WebTokenRequest(WebAccountProvider, String, String, WebTokenRequestPromptType)

Initializes a new instance of the WebTokenRequest class with four inputs.

WebTokenRequest(WebAccountProvider)

Initializes a new instance of the WebTokenRequest class with one input.

public:
 WebTokenRequest(WebAccountProvider ^ provider);
 WebTokenRequest(WebAccountProvider const& provider);
public WebTokenRequest(WebAccountProvider provider);
function WebTokenRequest(provider)
Public Sub New (provider As WebAccountProvider)

Parameters

provider
WebAccountProvider

The web account provider the request is for.

See also

Applies to

WebTokenRequest(WebAccountProvider, String)

Initializes a new instance of the WebTokenRequest class with two inputs.

public:
 WebTokenRequest(WebAccountProvider ^ provider, Platform::String ^ scope);
 WebTokenRequest(WebAccountProvider const& provider, winrt::hstring const& scope);
public WebTokenRequest(WebAccountProvider provider, string scope);
function WebTokenRequest(provider, scope)
Public Sub New (provider As WebAccountProvider, scope As String)

Parameters

provider
WebAccountProvider

The web account provider the request is for.

scope
String

Platform::String

winrt::hstring

The scope of the request.

See also

Applies to

WebTokenRequest(WebAccountProvider, String, String)

Initializes a new instance of the WebTokenRequest class with three inputs.

public:
 WebTokenRequest(WebAccountProvider ^ provider, Platform::String ^ scope, Platform::String ^ clientId);
 WebTokenRequest(WebAccountProvider const& provider, winrt::hstring const& scope, winrt::hstring const& clientId);
public WebTokenRequest(WebAccountProvider provider, string scope, string clientId);
function WebTokenRequest(provider, scope, clientId)
Public Sub New (provider As WebAccountProvider, scope As String, clientId As String)

Parameters

provider
WebAccountProvider

The web account provider the request is for.

scope
String

Platform::String

winrt::hstring

The scope of the request.

clientId
String

Platform::String

winrt::hstring

The client ID.

See also

Applies to

WebTokenRequest(WebAccountProvider, String, String, WebTokenRequestPromptType)

Initializes a new instance of the WebTokenRequest class with four inputs.

public:
 WebTokenRequest(WebAccountProvider ^ provider, Platform::String ^ scope, Platform::String ^ clientId, WebTokenRequestPromptType promptType);
 WebTokenRequest(WebAccountProvider const& provider, winrt::hstring const& scope, winrt::hstring const& clientId, WebTokenRequestPromptType const& promptType);
public WebTokenRequest(WebAccountProvider provider, string scope, string clientId, WebTokenRequestPromptType promptType);
function WebTokenRequest(provider, scope, clientId, promptType)
Public Sub New (provider As WebAccountProvider, scope As String, clientId As String, promptType As WebTokenRequestPromptType)

Parameters

provider
WebAccountProvider

The web account provider the request is for.

scope
String

Platform::String

winrt::hstring

The scope of the request.

clientId
String

Platform::String

winrt::hstring

The client ID.

promptType
WebTokenRequestPromptType

The request prompt type.

See also

Applies to