WebSsoTokenVerifier.VerifyToken Method (String, Boolean, UInt64, UInt32, String, IntPtr, Int32, String, String)
This method supports the AD FS infrastructure and is not intended to be used directly from your code. Verifies the specified token.
Namespace: System.Web.Security.SingleSignOn
Assembly: System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)
Syntax
public 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
)
public:
virtual 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
) sealed
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
override 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
Public 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
token
Type: System.StringThe token to verify.
auditOnFailure
Type: System.BooleanA flag identifying whether to write an entry in the failure audit or not.
expirationTime
Type: System.UInt64Time at which the token becomes invalid.
identityClaimType
Type: System.UInt32The type of identity claim.
identityClaim
Type: System.StringThe value of the token property.
packedSids
Type: System.IntPtrAn array of packed security identifiers (SIDs).
packedSidSize
Type: System.Int32The size of the packedSids array, in bytes.
assertionId
Type: System.StringThe identifier for an assertion.
issuer
Type: System.StringThe issuer for an assertion.
Implements
See Also
WebSsoTokenVerifier Class
System.Web.Security.SingleSignOn Namespace
Return to top