Export (0) Print
Expand All

OAuthTokenProvider Class

Provides authentication token for the service bus.

System.Object
  Microsoft.ServiceBus.TokenProvider
    Microsoft.ServiceBus.OAuthTokenProvider

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public class OAuthTokenProvider : TokenProvider

The OAuthTokenProvider type exposes the following members.

  NameDescription
Public propertyCacheSizeGets or sets the size of the cache. (Inherited from TokenProvider.)
Public propertyCacheTokensGets or sets a value that indicates whether new security tokens are being cached. (Inherited from TokenProvider.)
Public propertyIsWebTokenSupportedGets or sets a value that indicates whether web token is supported by this provider. (Inherited from TokenProvider.)
Protected propertyStripQueryParametersGets whether the token provider strips query parameters. (Inherited from TokenProvider.)
Public propertyTokenScopeGets or sets the token scope associated with the provider. (Inherited from TokenProvider.)
Top

  NameDescription
Public methodBeginGetTokenBegins an asynchronous operation to get a security token. (Inherited from TokenProvider.)
Public methodBeginGetWebTokenBegins an asynchronous operation to get a web token. (Inherited from TokenProvider.)
Protected methodBuildKeyBuilds a key for the provider. (Overrides TokenProvider.BuildKey(String, String).)
Public methodClearClears the token provider. (Inherited from TokenProvider.)
Public methodEndGetTokenCompletes an asynchronous operation to get a security token. (Inherited from TokenProvider.)
Public methodEndGetWebTokenCompletes an asynchronous operation to get a web token. (Inherited from TokenProvider.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetTokenAsyncAsynchronously retrieves the token for the provider. (Inherited from TokenProvider.)
Public methodGetType (Inherited from Object.)
Public methodGetWebTokenAsyncAsynchronously retrieves the web token for the provider. (Inherited from TokenProvider.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodNormalizeAppliesToApplies normalization into the token provider. (Overrides TokenProvider.NormalizeAppliesTo(String).)
Protected methodOnBeginGetTokenRetrieves a token when the provider begins. (Overrides TokenProvider.OnBeginGetToken(String, String, TimeSpan, AsyncCallback, Object).)
Protected methodOnBeginGetWebTokenRetrieves a web token when the provider begins. (Overrides TokenProvider.OnBeginGetWebToken(String, String, TimeSpan, AsyncCallback, Object).)
Protected methodOnEndGetTokenRetrieves a token when the provider ends. (Overrides TokenProvider.OnEndGetToken(IAsyncResult, DateTime).)
Protected methodOnEndGetWebTokenRetrieves a web token when the provider ends. (Overrides TokenProvider.OnEndGetWebToken(IAsyncResult, DateTime).)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft