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