C# Class Microsoft.WindowsAzure.Samples.Phone.Identity.AccessControl.SimpleWebToken

Provides a class to wrap a SWT returned by ACS
Mostrar archivo Open project: WindowsAzure-Toolkits/wa-toolkit-wp-nugets Class Usage Examples

Public Methods

Method Description
SimpleWebToken ( string rawToken ) : System

Initializes a new instance of the SimpleWebToken class.

ToString ( ) : string

Provides a string representation of the token

Private Methods

Method Description
Parse ( ) : void

Parses the SWT to provide an easy access to its information and claims

ToDateTimeFromEpoch ( long secondsSince1970 ) : System.DateTime

Turns a UNIX epoch into a DateTime

Method Details

SimpleWebToken() public method

Initializes a new instance of the SimpleWebToken class.
public SimpleWebToken ( string rawToken ) : System
rawToken string ///
return System

ToString() public method

Provides a string representation of the token
public ToString ( ) : string
return string