C# Class MessagingSamples.DelegatingTokenProvider

Inheritance: TokenProvider
Mostra file Open project: Azure-Samples/azure-servicebus-messaging-samples Class Usage Examples

Public Methods

Method Description
DelegatingTokenProvider ( TokenProvider tokenProvider ) : System

Protected Methods

Method Description
OnBeginGetToken ( string appliesTo, string action, System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
OnBeginGetWebToken ( string appliesTo, string action, System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
OnEndGetToken ( IAsyncResult result, System.DateTime &cacheUntil ) : System.IdentityModel.Tokens.SecurityToken
OnEndGetWebToken ( IAsyncResult result, System.DateTime &cacheUntil ) : string

Method Details

DelegatingTokenProvider() public method

public DelegatingTokenProvider ( TokenProvider tokenProvider ) : System
tokenProvider TokenProvider
return System

OnBeginGetToken() protected method

protected OnBeginGetToken ( string appliesTo, string action, System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
appliesTo string
action string
timeout System.TimeSpan
callback AsyncCallback
state object
return IAsyncResult

OnBeginGetWebToken() protected method

protected OnBeginGetWebToken ( string appliesTo, string action, System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
appliesTo string
action string
timeout System.TimeSpan
callback AsyncCallback
state object
return IAsyncResult

OnEndGetToken() protected method

protected OnEndGetToken ( IAsyncResult result, System.DateTime &cacheUntil ) : System.IdentityModel.Tokens.SecurityToken
result IAsyncResult
cacheUntil System.DateTime
return System.IdentityModel.Tokens.SecurityToken

OnEndGetWebToken() protected method

protected OnEndGetWebToken ( IAsyncResult result, System.DateTime &cacheUntil ) : string
result IAsyncResult
cacheUntil System.DateTime
return string