Share via


IWebSsoTokenVerifier.VerifyToken Method (String, Boolean, UInt64, UInt32, String, IntPtr, Int32, String, String)

 

Verifies the specified token.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Syntax

void VerifyToken(
    string token,
    bool auditOnFailure,
    out ulong expirationTime,
    out uint identityClaimType,
    out string identityClaim,
    out IntPtr packedSids,
    out int packedSidSize,
    out string assertionId,
    out string issuer
)
void VerifyToken(
    String^ token,
    bool auditOnFailure,
    [OutAttribute] unsigned long long% expirationTime,
    [OutAttribute] unsigned int% identityClaimType,
    [OutAttribute] String^% identityClaim,
    [OutAttribute] IntPtr% packedSids,
    [OutAttribute] int% packedSidSize,
    [OutAttribute] String^% assertionId,
    [OutAttribute] String^% issuer
)
abstract VerifyToken : 
        token:string *
        auditOnFailure:bool *
        expirationTime:uint64 byref *
        identityClaimType:uint32 byref *
        identityClaim:string byref *
        packedSids:nativeint byref *
        packedSidSize:int byref *
        assertionId:string byref *
        issuer:string byref -> unit
Sub VerifyToken (
    token As String,
    auditOnFailure As Boolean,
    <OutAttribute> ByRef expirationTime As ULong,
    <OutAttribute> ByRef identityClaimType As UInteger,
    <OutAttribute> ByRef identityClaim As String,
    <OutAttribute> ByRef packedSids As IntPtr,
    <OutAttribute> ByRef packedSidSize As Integer,
    <OutAttribute> ByRef assertionId As String,
    <OutAttribute> ByRef issuer As String
)

Parameters

  • auditOnFailure
    Type: System.Boolean

    A flag identifying whether to write an entry in the failure audit or not.

  • expirationTime
    Type: System.UInt64

    Time at which the token becomes invalid.

  • identityClaimType
    Type: System.UInt32

    The type of identity claim.

  • identityClaim
    Type: System.String

    The value of the token property.

  • packedSids
    Type: System.IntPtr

    An array of packed security identifiers (SIDs).

  • packedSidSize
    Type: System.Int32

    The size of the packedSids array, in bytes.

  • assertionId
    Type: System.String

    The identifier for an assertion.

See Also

IWebSsoTokenVerifier Interface
System.Web.Security.SingleSignOn Namespace

Return to top