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
GetToken Method
Gets JWT token for current user.
Namespace:
CMS.Membership.Internal
Assembly:
CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
Copy
string
GetToken
(
IUserInfo
user
)
Parameters
user
Type:
CMS.Base
IUserInfo
User info which should be serialized into the token.
Return Value
Type:
String
Serialized the JWT token.
Exceptions
Exception
Condition
ArgumentException
Throws when
user
has missing
UserAuthenticationGUID
or
UserName
.
See Also
Reference
ISecurityTokenManager
T
Interface
CMS.Membership.Internal Namespace
Copyright (c) 2023 Kentico Software
Send comments on this topic to
support@kentico.com