C# Class MessagingSamples.DelegatingTokenProvider

Inheritance: TokenProvider
Afficher le fichier Open project: Azure-Samples/azure-servicebus-messaging-samples Class Usage Examples

Méthodes publiques

Méthode Description
DelegatingTokenProvider ( TokenProvider tokenProvider ) : System

Méthodes protégées

Méthode 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 méthode

public DelegatingTokenProvider ( TokenProvider tokenProvider ) : System
tokenProvider TokenProvider
Résultat System

OnBeginGetToken() protected méthode

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
Résultat IAsyncResult

OnBeginGetWebToken() protected méthode

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
Résultat IAsyncResult

OnEndGetToken() protected méthode

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

OnEndGetWebToken() protected méthode

protected OnEndGetWebToken ( IAsyncResult result, System.DateTime &cacheUntil ) : string
result IAsyncResult
cacheUntil System.DateTime
Résultat string