Click or drag to resize
SecurityTokenManagerTGetUserFromToken Method
Validates JWT token, checks UserAuthenticationGUID integrity and returns claims-based identity.

Namespace: CMS.Membership.Internal
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
public ClaimsPrincipal GetUserFromToken(
	string token
)

Parameters

token
Type: SystemString
Serialized the JWT token.

Return Value

Type: ClaimsPrincipal
Claims-based identity

Implements

ISecurityTokenManagerTGetUserFromToken(String)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrows when token is null or whitespace.
See Also