Click or drag to resize
ISecurityTokenManagerTGetToken Method
Gets JWT token for current user.

Namespace: CMS.Membership.Internal
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
string GetToken(
	IUserInfo user
)

Parameters

user
Type: CMS.BaseIUserInfo
User info which should be serialized into the token.

Return Value

Type: String
Serialized the JWT token.
Exceptions
ExceptionCondition
ArgumentException Throws when user has missing UserAuthenticationGUID or UserName.
See Also