WebAccountProvider class

WebAccountProvider class

Represents a web account authentication provider.

Syntax


var webAccountProvider = new Windows.Security.Credentials.WebAccountProvider();

Members

The WebAccountProvider class has these types of members:

Constructors

The WebAccountProvider class has these constructors.

ConstructorDescription
WebAccountProvider Creates an instance of the WebAccountProvider class.

 

Properties

The WebAccountProvider class has these properties.

PropertyAccess typeDescription

Authority

Read-only

Gets the authority of the web account provider. Use authority to disambiguate between a single provider with multiple identities (such as a Microsoft account versus Azure Active Directory).

DisplayName

Read-only

Gets the display name for the web account provider.

DisplayPurpose

Read-only

Gets the display purpose of the web account provider.

IconUri

Read-only

Gets the Uri of the icon image to display for the web account provider.

Id

Read-only

Gets the web account provider id.

User

Read-only

Gets the user associated with the provider.

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0 [for Xbox, see UWP features that aren't yet supported on Xbox]

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Security.Credentials
Windows::Security::Credentials [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

None supported

Namespace

Windows.Security.Credentials
Windows::Security::Credentials [C++]

Metadata

Windows.winmd

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

See also

Object
WebAuthenticationBroker sample (Windows 10)

 

 

Show:
© 2016 Microsoft