C# Class SimpleAuth.Authenticator

Exibir arquivo Open project: Clancey/SimpleAuth Class Usage Examples

Protected Properties

Property Type Description
tokenTask TaskCompletionSource

Public Methods

Method Description
Authenticator ( ) : System
GetAuthCode ( ) : Task
OnCancelled ( ) : void
OnError ( string error ) : void

Protected Methods

Method Description
FoundAuthCode ( string authCode ) : void

Method Details

Authenticator() public method

public Authenticator ( ) : System
return System

FoundAuthCode() protected method

protected FoundAuthCode ( string authCode ) : void
authCode string
return void

GetAuthCode() public method

public GetAuthCode ( ) : Task
return Task

OnCancelled() public method

public OnCancelled ( ) : void
return void

OnError() public method

public OnError ( string error ) : void
error string
return void

Property Details

tokenTask protected_oe property

protected TaskCompletionSource tokenTask
return TaskCompletionSource