SamlTokenProvider SamlTokenProvider Class

Provides a set of methods that execute asynchronous SAML token retrieval operations.

Syntax

Declaration

public class SamlTokenProvider : TokenProviderPublic Class SamlTokenProvider
    Inherits TokenProvider

Inheritance Hierarchy

Inherited Members

, , , , , , , , , ,
Clear()
Clear()
,
Clear()
Clear()
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Methods summary

Generates a key for the token provider.

Executes the begin get token action.

Executes the begin get web token action.

Executes the end get token action.

Executes the end get web token action.

Methods

  • BuildKey(String, String)
    BuildKey(String, String)

    Generates a key for the token provider.

    protected override TokenProvider.Key BuildKey(string appliesTo, string action)Protected Overrides Function BuildKey(appliesTo As String, action As String) As TokenProvider.Key

    Parameters

    Returns

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

    Executes the begin get token action.

    protected override IAsyncResult OnBeginGetToken(string appliesTo, string action, TimeSpan timeout, AsyncCallback callback, object state)Protected Overrides Function OnBeginGetToken(appliesTo As String, action As String, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

    Parameters

    • appliesTo

      The URI which the access token applies to.

    • action

      The request action.

    • timeout

      The time span that specifies the timeout value for the message that gets the security token.

    • callback

      An AsyncCallback delegate that references the method to invoke when the operation is complete.

    • state

      A user-defined object that contains state information about the asynchronous operation.

    Returns

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

    Executes the begin get web token action.

    protected override IAsyncResult OnBeginGetWebToken(string appliesTo, string action, TimeSpan timeout, AsyncCallback callback, object state)Protected Overrides Function OnBeginGetWebToken(appliesTo As String, action As String, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

    Parameters

    • appliesTo

      The URI which the access token applies to.

    • action

      The request action.

    • timeout

      The time span that specifies the timeout value for the message that gets the security token.

    • callback

      An AsyncCallback delegate that references the method to invoke when the operation is complete.

    • state

      A user-defined object that contains state information about the asynchronous operation.

    Returns

  • OnEndGetToken(IAsyncResult, out DateTime)
    OnEndGetToken(IAsyncResult, ByRef DateTime)

    Executes the end get token action.

    protected override SecurityToken OnEndGetToken(IAsyncResult result, out DateTime cacheUntil)Protected Overrides Function OnEndGetToken(result As IAsyncResult, ByRef cacheUntil As Date) As SecurityToken

    Parameters

    Returns

  • OnEndGetWebToken(IAsyncResult, out DateTime)
    OnEndGetWebToken(IAsyncResult, ByRef DateTime)

    Executes the end get web token action.

    protected override string OnEndGetWebToken(IAsyncResult result, out DateTime cacheUntil)Protected Overrides Function OnEndGetWebToken(result As IAsyncResult, ByRef cacheUntil As Date) As String

    Parameters

    Returns

Details

Assembly

Microsoft.ServiceBus.dll