C# Class Graph_UWP_Connect_REST.AuthenticationHelper

Show file Open project: microsoftgraph/uwp-csharp-connect-rest-sample

Public Properties

Property Type Description
Expiration DateTimeOffset
IdentityClientApp Microsoft.Identity.Client.PublicClientApplication
Scopes string[]
TokenForUser string
_settings Windows.Storage.ApplicationDataContainer

Public Methods

Method Description
GetTokenForUserAsync ( ) : Task

Get Token for User.

SignOut ( ) : void

Signs the user out of the service.

Method Details

GetTokenForUserAsync() public static method

Get Token for User.
public static GetTokenForUserAsync ( ) : Task
return Task

SignOut() public static method

Signs the user out of the service.
public static SignOut ( ) : void
return void

Property Details

Expiration public static property

public static DateTimeOffset Expiration
return DateTimeOffset

IdentityClientApp public static property

public static PublicClientApplication,Microsoft.Identity.Client IdentityClientApp
return Microsoft.Identity.Client.PublicClientApplication

Scopes public static property

public static string[] Scopes
return string[]

TokenForUser public static property

public static string TokenForUser
return string

_settings public static property

public static ApplicationDataContainer,Windows.Storage _settings
return Windows.Storage.ApplicationDataContainer