Click or drag to resize
CrawlerTokenManagerGetPrincipalFromToken Method
Return ClaimsPrincipal from given token.

Namespace: CMS.Search.Internal
Assembly: CMS.Search (in CMS.Search.dll) Version: 13.0.131
Syntax
C#
public ClaimsPrincipal GetPrincipalFromToken(
	string domain,
	string token
)

Parameters

domain
Type: SystemString
Domain for which the token was created.
token
Type: SystemString
The JWT token.

Return Value

Type: ClaimsPrincipal

Implements

ICrawlerTokenManagerGetPrincipalFromToken(String, String)
See Also