แก้ไข

แชร์ผ่าน


SimpleSecurityTokenProvider Class

Definition

Represents a security token provider that produces a security token as an issued token for federated bindings.

public ref class SimpleSecurityTokenProvider : System::IdentityModel::Selectors::SecurityTokenProvider
public class SimpleSecurityTokenProvider : System.IdentityModel.Selectors.SecurityTokenProvider
type SimpleSecurityTokenProvider = class
    inherit SecurityTokenProvider
Public Class SimpleSecurityTokenProvider
Inherits SecurityTokenProvider
Inheritance
SimpleSecurityTokenProvider

Constructors

SimpleSecurityTokenProvider(SecurityToken, SecurityTokenRequirement)

Initializes a new instance of the SimpleSecurityTokenProvider class by using the specified token and token binding requirements.

Properties

SupportsTokenCancellation

Gets a value that indicates whether the security token can be cancelled.

(Inherited from SecurityTokenProvider)
SupportsTokenRenewal

Gets a value that indicates whether the security token is renewable.

(Inherited from SecurityTokenProvider)

Methods

BeginCancelToken(TimeSpan, SecurityToken, AsyncCallback, Object)

Begins an asynchronous operation to cancel a security token.

(Inherited from SecurityTokenProvider)
BeginCancelTokenCore(TimeSpan, SecurityToken, AsyncCallback, Object)

Begins an asynchronous operation to cancel a security token.

(Inherited from SecurityTokenProvider)
BeginGetToken(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to get a security token.

(Inherited from SecurityTokenProvider)
BeginGetTokenCore(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to get a security token.

(Inherited from SecurityTokenProvider)
BeginRenewToken(TimeSpan, SecurityToken, AsyncCallback, Object)

Begins an asynchronous operation that renews a security token.

(Inherited from SecurityTokenProvider)
BeginRenewTokenCore(TimeSpan, SecurityToken, AsyncCallback, Object)

Begins an asynchronous operation that renews a security token.

(Inherited from SecurityTokenProvider)
CancelToken(TimeSpan, SecurityToken)

Cancels a security token.

(Inherited from SecurityTokenProvider)
CancelTokenAsync(TimeSpan, SecurityToken)

Cancels a security token.

(Inherited from SecurityTokenProvider)
CancelTokenCore(TimeSpan, SecurityToken)

Cancels a security token.

(Inherited from SecurityTokenProvider)
CancelTokenCoreAsync(TimeSpan, SecurityToken)

Cancels a security token.

(Inherited from SecurityTokenProvider)
EndCancelToken(IAsyncResult)

Completes an asynchronous operation to cancel a security token.

(Inherited from SecurityTokenProvider)
EndCancelTokenCore(IAsyncResult)

Completes an asynchronous operation to cancel a security token.

(Inherited from SecurityTokenProvider)
EndGetToken(IAsyncResult)

Completes an asynchronous operation to get a security token.

(Inherited from SecurityTokenProvider)
EndGetTokenCore(IAsyncResult)

Completes an asynchronous operation to get a security token.

(Inherited from SecurityTokenProvider)
EndRenewToken(IAsyncResult)

Completes an asynchronous operation to renew a security token.

(Inherited from SecurityTokenProvider)
EndRenewTokenCore(IAsyncResult)

Completes an asynchronous operation to renew the security token.

(Inherited from SecurityTokenProvider)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetToken(TimeSpan)

Gets a security token.

(Inherited from SecurityTokenProvider)
GetTokenAsync(TimeSpan)

Gets a security token.

(Inherited from SecurityTokenProvider)
GetTokenCore(TimeSpan)

Creates a security token according to the specified timeout.

GetTokenCoreAsync(TimeSpan)

Gets a security token.

(Inherited from SecurityTokenProvider)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RenewToken(TimeSpan, SecurityToken)

Renews a security token.

(Inherited from SecurityTokenProvider)
RenewTokenAsync(TimeSpan, SecurityToken)

Renews a security token.

(Inherited from SecurityTokenProvider)
RenewTokenCore(TimeSpan, SecurityToken)

Renews a security token.

(Inherited from SecurityTokenProvider)
RenewTokenCoreAsync(TimeSpan, SecurityToken)

Renews a security token.

(Inherited from SecurityTokenProvider)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to