IJwtTokenServiceFactoryGetJwtTokenService Method |
Returns new instance of JWT token service.
Namespace: CMS.Base.InternalAssembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax 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:
IJwtTokenServiceJWT token service.
See Also