OAuthTokenProvider OAuthTokenProvider OAuthTokenProvider Class

Definition

Provides authentication token for the service bus.

public class OAuthTokenProvider : Microsoft.ServiceBus.TokenProvider
type OAuthTokenProvider = class
    inherit TokenProvider
Public Class OAuthTokenProvider
Inherits TokenProvider
Inheritance
OAuthTokenProviderOAuthTokenProviderOAuthTokenProvider

Methods

BeginGetToken(String, String, Boolean, TimeSpan, AsyncCallback, Object) BeginGetToken(String, String, Boolean, TimeSpan, AsyncCallback, Object) BeginGetToken(String, String, Boolean, TimeSpan, AsyncCallback, Object) Inherited from TokenProvider
BeginGetWebToken(String, String, Boolean, TimeSpan, AsyncCallback, Object) BeginGetWebToken(String, String, Boolean, TimeSpan, AsyncCallback, Object) BeginGetWebToken(String, String, Boolean, TimeSpan, AsyncCallback, Object) Inherited from TokenProvider
BuildKey(String, String) BuildKey(String, String) BuildKey(String, String)

Builds a key for the provider.

Clear() Clear() Clear() Inherited from TokenProvider
CreateOAuthTokenProvider(IEnumerable<Uri>, NetworkCredential) CreateOAuthTokenProvider(IEnumerable<Uri>, NetworkCredential) CreateOAuthTokenProvider(IEnumerable<Uri>, NetworkCredential) Inherited from TokenProvider
CreateSamlTokenProvider(String) CreateSamlTokenProvider(String) CreateSamlTokenProvider(String) Inherited from TokenProvider
CreateSamlTokenProvider(String, TokenScope) CreateSamlTokenProvider(String, TokenScope) CreateSamlTokenProvider(String, TokenScope) Inherited from TokenProvider
CreateSamlTokenProvider(String, Uri) CreateSamlTokenProvider(String, Uri) CreateSamlTokenProvider(String, Uri) Inherited from TokenProvider
CreateSamlTokenProvider(String, Uri, Int32) CreateSamlTokenProvider(String, Uri, Int32) CreateSamlTokenProvider(String, Uri, Int32) Inherited from TokenProvider
CreateSamlTokenProvider(String, Uri, Int32, TokenScope) CreateSamlTokenProvider(String, Uri, Int32, TokenScope) CreateSamlTokenProvider(String, Uri, Int32, TokenScope) Inherited from TokenProvider
CreateSamlTokenProvider(String, Uri, TokenScope) CreateSamlTokenProvider(String, Uri, TokenScope) CreateSamlTokenProvider(String, Uri, TokenScope) Inherited from TokenProvider
CreateSharedAccessSignatureTokenProvider(String) CreateSharedAccessSignatureTokenProvider(String) CreateSharedAccessSignatureTokenProvider(String) Inherited from TokenProvider
CreateSharedAccessSignatureTokenProvider(String, String) CreateSharedAccessSignatureTokenProvider(String, String) CreateSharedAccessSignatureTokenProvider(String, String) Inherited from TokenProvider
CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan) CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan) CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan) Inherited from TokenProvider
CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan, TokenScope) CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan, TokenScope) CreateSharedAccessSignatureTokenProvider(String, String, TimeSpan, TokenScope) Inherited from TokenProvider
CreateSharedAccessSignatureTokenProvider(String, String, TokenScope) CreateSharedAccessSignatureTokenProvider(String, String, TokenScope) CreateSharedAccessSignatureTokenProvider(String, String, TokenScope) Inherited from TokenProvider
CreateSharedSecretTokenProvider(String, Byte[]) CreateSharedSecretTokenProvider(String, Byte[]) CreateSharedSecretTokenProvider(String, Byte[]) Inherited from TokenProvider
CreateSharedSecretTokenProvider(String, Byte[], TokenScope) CreateSharedSecretTokenProvider(String, Byte[], TokenScope) CreateSharedSecretTokenProvider(String, Byte[], TokenScope) Inherited from TokenProvider
CreateSharedSecretTokenProvider(String, Byte[], Uri) CreateSharedSecretTokenProvider(String, Byte[], Uri) CreateSharedSecretTokenProvider(String, Byte[], Uri) Inherited from TokenProvider
CreateSharedSecretTokenProvider(String, Byte[], Uri, TokenScope) CreateSharedSecretTokenProvider(String, Byte[], Uri, TokenScope) CreateSharedSecretTokenProvider(String, Byte[], Uri, TokenScope) Inherited from TokenProvider
CreateSharedSecretTokenProvider(String, String) CreateSharedSecretTokenProvider(String, String) CreateSharedSecretTokenProvider(String, String) Inherited from TokenProvider
CreateSharedSecretTokenProvider(String, String, TokenScope) CreateSharedSecretTokenProvider(String, String, TokenScope) CreateSharedSecretTokenProvider(String, String, TokenScope) Inherited from TokenProvider
CreateSharedSecretTokenProvider(String, String, Uri) CreateSharedSecretTokenProvider(String, String, Uri) CreateSharedSecretTokenProvider(String, String, Uri) Inherited from TokenProvider
CreateSharedSecretTokenProvider(String, String, Uri, TokenScope) CreateSharedSecretTokenProvider(String, String, Uri, TokenScope) CreateSharedSecretTokenProvider(String, String, Uri, TokenScope) Inherited from TokenProvider
CreateSimpleWebTokenProvider(String) CreateSimpleWebTokenProvider(String) CreateSimpleWebTokenProvider(String) Inherited from TokenProvider
CreateSimpleWebTokenProvider(String, TokenScope) CreateSimpleWebTokenProvider(String, TokenScope) CreateSimpleWebTokenProvider(String, TokenScope) Inherited from TokenProvider
CreateSimpleWebTokenProvider(String, Uri) CreateSimpleWebTokenProvider(String, Uri) CreateSimpleWebTokenProvider(String, Uri) Inherited from TokenProvider
CreateSimpleWebTokenProvider(String, Uri, TokenScope) CreateSimpleWebTokenProvider(String, Uri, TokenScope) CreateSimpleWebTokenProvider(String, Uri, TokenScope) Inherited from TokenProvider
CreateWindowsTokenProvider(IEnumerable<Uri>) CreateWindowsTokenProvider(IEnumerable<Uri>) CreateWindowsTokenProvider(IEnumerable<Uri>) Inherited from TokenProvider
CreateWindowsTokenProvider(IEnumerable<Uri>, NetworkCredential) CreateWindowsTokenProvider(IEnumerable<Uri>, NetworkCredential) CreateWindowsTokenProvider(IEnumerable<Uri>, NetworkCredential) Inherited from TokenProvider
EndGetToken(IAsyncResult) EndGetToken(IAsyncResult) EndGetToken(IAsyncResult) Inherited from TokenProvider
EndGetWebToken(IAsyncResult) EndGetWebToken(IAsyncResult) EndGetWebToken(IAsyncResult) Inherited from TokenProvider
GetTokenAsync(String, String, Boolean, TimeSpan) GetTokenAsync(String, String, Boolean, TimeSpan) GetTokenAsync(String, String, Boolean, TimeSpan) Inherited from TokenProvider
GetWebTokenAsync(String, String, Boolean, TimeSpan) GetWebTokenAsync(String, String, Boolean, TimeSpan) GetWebTokenAsync(String, String, Boolean, TimeSpan) Inherited from TokenProvider
NormalizeAppliesTo(String) NormalizeAppliesTo(String) NormalizeAppliesTo(String)

Applies normalization into the token provider.

OnBeginGetToken(String, String, TimeSpan, AsyncCallback, Object) OnBeginGetToken(String, String, TimeSpan, AsyncCallback, Object) OnBeginGetToken(String, String, TimeSpan, AsyncCallback, Object)

Retrieves a token when the provider begins.

OnBeginGetWebToken(String, String, TimeSpan, AsyncCallback, Object) OnBeginGetWebToken(String, String, TimeSpan, AsyncCallback, Object) OnBeginGetWebToken(String, String, TimeSpan, AsyncCallback, Object)

Retrieves a web token when the provider begins.

OnEndGetToken(IAsyncResult, DateTime) OnEndGetToken(IAsyncResult, DateTime) OnEndGetToken(IAsyncResult, DateTime)

Retrieves a token when the provider ends.

OnEndGetWebToken(IAsyncResult, DateTime) OnEndGetWebToken(IAsyncResult, DateTime) OnEndGetWebToken(IAsyncResult, DateTime)

Retrieves a web token when the provider ends.

Properties

CacheSize CacheSize CacheSize Inherited from TokenProvider
CacheTokens CacheTokens CacheTokens Inherited from TokenProvider
IsWebTokenSupported IsWebTokenSupported IsWebTokenSupported Inherited from TokenProvider
StripQueryParameters StripQueryParameters StripQueryParameters Inherited from TokenProvider
TokenScope TokenScope TokenScope Inherited from TokenProvider

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to