OAuthTokenProvider OAuthTokenProvider OAuthTokenProvider OAuthTokenProvider OAuthTokenProvider OAuthTokenProvider Class

Definition

Provides authentication token for the service bus.

public ref class OAuthTokenProvider : Microsoft::ServiceBus::TokenProvider
[Windows::Foundation::Metadata::WebHostHidden]
public ref class OAuthTokenProvider : Microsoft::ServiceBus::TokenProvider
[Windows::Foundation::Metadata::WebHostHidden]
class OAuthTokenProvider : Microsoft::ServiceBus::TokenProvider
public class OAuthTokenProvider : Microsoft.ServiceBus.TokenProvider
type OAuthTokenProvider = class
    inherit TokenProvider
Public Class OAuthTokenProvider
Inherits TokenProvider
Inheritance
OAuthTokenProviderOAuthTokenProviderOAuthTokenProviderOAuthTokenProviderOAuthTokenProviderOAuthTokenProvider

Methods

BeginGetToken(String, String, Boolean, TimeSpan, AsyncCallback, Object) BeginGetToken(String, String, Boolean, TimeSpan, AsyncCallback, Object) BeginGetToken(String, String, Boolean, TimeSpan, AsyncCallback, Object) BeginGetToken(String, String, Boolean, TimeSpan, AsyncCallback, Object) BeginGetToken(String, String, Boolean, TimeSpan, AsyncCallback, Object) BeginGetToken(String, String, Boolean, TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to get a security token.

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

Begins an asynchronous operation to get a web token.

(Inherited from TokenProvider)
BuildKey(String, String) BuildKey(String, String) BuildKey(String, String) BuildKey(String, String) BuildKey(String, String) BuildKey(String, String)

Builds a key for the provider.

Clear() Clear() Clear() Clear() Clear() Clear()

Clears the token provider.

(Inherited from TokenProvider)
EndGetToken(IAsyncResult) EndGetToken(IAsyncResult) EndGetToken(IAsyncResult) EndGetToken(IAsyncResult) EndGetToken(IAsyncResult) EndGetToken(IAsyncResult)

Completes an asynchronous operation to get a security token.

(Inherited from TokenProvider)
EndGetWebToken(IAsyncResult) EndGetWebToken(IAsyncResult) EndGetWebToken(IAsyncResult) EndGetWebToken(IAsyncResult) EndGetWebToken(IAsyncResult) EndGetWebToken(IAsyncResult)

Completes an asynchronous operation to get a web token.

(Inherited from TokenProvider)
GetTokenAsync(String, String, Boolean, TimeSpan) GetTokenAsync(String, String, Boolean, TimeSpan) GetTokenAsync(String, String, Boolean, TimeSpan) GetTokenAsync(String, String, Boolean, TimeSpan) GetTokenAsync(String, String, Boolean, TimeSpan) GetTokenAsync(String, String, Boolean, TimeSpan)

Asynchronously retrieves the token for the provider.

(Inherited from TokenProvider)
GetWebTokenAsync(String, String, Boolean, TimeSpan) GetWebTokenAsync(String, String, Boolean, TimeSpan) GetWebTokenAsync(String, String, Boolean, TimeSpan) GetWebTokenAsync(String, String, Boolean, TimeSpan) GetWebTokenAsync(String, String, Boolean, TimeSpan) GetWebTokenAsync(String, String, Boolean, TimeSpan)

Asynchronously retrieves the web token for the provider.

(Inherited from TokenProvider)
NormalizeAppliesTo(String) NormalizeAppliesTo(String) NormalizeAppliesTo(String) 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) 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) 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) 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) OnEndGetWebToken(IAsyncResult, DateTime) OnEndGetWebToken(IAsyncResult, DateTime) OnEndGetWebToken(IAsyncResult, DateTime)

Retrieves a web token when the provider ends.

Properties

CacheSize CacheSize CacheSize CacheSize CacheSize CacheSize

Gets or sets the size of the cache.

(Inherited from TokenProvider)
CacheTokens CacheTokens CacheTokens CacheTokens CacheTokens CacheTokens

Gets or sets a value that indicates whether new security tokens are being cached.

(Inherited from TokenProvider)
IsWebTokenSupported IsWebTokenSupported IsWebTokenSupported IsWebTokenSupported IsWebTokenSupported IsWebTokenSupported

Gets or sets a value that indicates whether web token is supported by this provider.

(Inherited from TokenProvider)
StripQueryParameters StripQueryParameters StripQueryParameters StripQueryParameters StripQueryParameters StripQueryParameters

Gets whether the token provider strips query parameters.

(Inherited from TokenProvider)
TokenScope TokenScope TokenScope TokenScope TokenScope TokenScope

Gets or sets the token scope associated with the provider.

(Inherited from TokenProvider)

Extension Methods

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

Determines if a certain property is defined or not.

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

Determines if a certain property is null or not.

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

Determines if a certain property is of premitive JSON type.

Applies to