Xperience 13 API Reference
Xperience 13 API Reference
Namespaces
CMS Namespaces
CMS.Membership Namespaces
CMS.Membership.Internal
SecurityTokenManager(T) Class
SecurityTokenManager(T) Methods
GetToken Method
GetUserFromToken Method
SecurityTokenManager
T
GetUserFromToken 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#
Copy
public
ClaimsPrincipal
GetUserFromToken
(
string
token
)
Parameters
token
Type:
System
String
Serialized the JWT token.
Return Value
Type:
ClaimsPrincipal
Claims-based identity
Implements
ISecurityTokenManager
T
GetUserFromToken(String)
Exceptions
Exception
Condition
ArgumentNullException
Throws when
token
is null or whitespace.
See Also
Reference
SecurityTokenManager
T
Class
CMS.Membership.Internal Namespace
Copyright (c) 2023 Kentico Software
Send comments on this topic to
support@kentico.com