WebTokenRequest Constructors
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.
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
- WebTokenRequest(WebAccountProvider, String, String)
- WebTokenRequest(WebAccountProvider, String, String, WebTokenRequestPromptType)
- WebTokenRequest(WebAccountProvider, String)
- Web account management code sample
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
- WebTokenRequest(WebAccountProvider, String, String)
- WebTokenRequest(WebAccountProvider, String, String, WebTokenRequestPromptType)
- WebTokenRequest(WebAccountProvider)
- Web account management code sample
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
- WebTokenRequest(WebAccountProvider, String, String, WebTokenRequestPromptType)
- Web account management code sample
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.