Click or drag to resize
IJwtTokenServiceFactoryGetJwtTokenService Method
Returns new instance of JWT token service.

Namespace: CMS.Base.Internal
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
IJwtTokenService GetJwtTokenService(
	string issuer,
	string audience,
	bool tokenEncryption = true
)

Parameters

issuer
Type: SystemString
Issuer of the JWT token.
audience
Type: SystemString
Audience of the JWT token.
tokenEncryption (Optional)
Type: SystemBoolean
Indicates if token will be encrypted.

Return Value

Type: IJwtTokenService
JWT token service.
See Also