Click or drag to resize

JwtSettings Class

JSON web token settings
Inheritance Hierarchy
SystemObject
  Omada.OE.Model.TokensTokenSettings
    Omada.OE.Model.TokensJwtSettings

Namespace:  Omada.OE.Model.Tokens
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
public sealed class JwtSettings : TokenSettings

The JwtSettings type exposes the following members.

Constructors
  NameDescription
Public methodJwtSettings
Top
Properties
  NameDescription
Public propertyAlgorithm
Token key algorithm
Public propertyClaims
List of claims. The claims will be composed by key and value. The key will be a fixed value The value can be a fixed value or use string interpolation (e.g.: {userUid}@{environmentId})
Public propertyExpiresInHours
Token expire in hours
Public propertyGroups
groups claim. It can be a fixed value or an string interpolation (e.g.: {userUid}@{environmentId}) Allowed keys: {userUid}, {environmentId}
Public propertyPrivateKey
Private key, part of the private - public key
Public propertyPublicKey
Public key, part of the private - public key
Public propertyReturnUrl
Return url
(Inherited from TokenSettings.)
Public propertyReturnUrlExtraParameters
extra parameters to be added to the return url
(Inherited from TokenSettings.)
Public propertySharedKey
Shared key for symmethric algoritm
Public propertyUid
Unique identifier
(Inherited from TokenSettings.)
Top
Methods
  NameDescription
Public methodStatic memberMergeClaims
Merges claims and replace any duplicates with the additional claim values
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also