806 lines
30 KiB
YAML
806 lines
30 KiB
YAML
### YamlMime:ManagedReference
|
|
items:
|
|
- uid: adas_core.Domain.Utils.JwtHelper
|
|
commentId: T:adas_core.Domain.Utils.JwtHelper
|
|
id: JwtHelper
|
|
parent: adas_core.Domain.Utils
|
|
children:
|
|
- adas_core.Domain.Utils.JwtHelper.GenerateRefreshToken
|
|
- adas_core.Domain.Utils.JwtHelper.GetJwtToken(System.String,System.String,System.String,System.String,System.Int32,System.Security.Claims.Claim[])
|
|
- adas_core.Domain.Utils.JwtHelper.GetUsernameFromPrincipal(System.Security.Claims.ClaimsPrincipal)
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: JwtHelper
|
|
nameWithType: JwtHelper
|
|
fullName: adas_core.Domain.Utils.JwtHelper
|
|
type: Class
|
|
source:
|
|
remote:
|
|
path: adas-core.Domain/Utils/JwtHelper.cs
|
|
branch: document/release/1.0.1
|
|
repo: https://git.teralevel.io/adas/adas-core.git
|
|
id: JwtHelper
|
|
path: ../../adas-core.Domain/Utils/JwtHelper.cs
|
|
startLine: 14
|
|
assemblies:
|
|
- adas-core.Domain
|
|
namespace: adas_core.Domain.Utils
|
|
summary: Serves as an abstract base class for providing helper functionality related to JSON Web Token (JWT) operations.
|
|
remarks: This class is intended to be inherited by concrete implementations that define specific JWT processing behaviors.
|
|
example: []
|
|
syntax:
|
|
content: public abstract class JwtHelper
|
|
content.vb: Public MustInherit Class JwtHelper
|
|
inheritance:
|
|
- System.Object
|
|
inheritedMembers:
|
|
- System.Object.Equals(System.Object)
|
|
- System.Object.Equals(System.Object,System.Object)
|
|
- System.Object.GetHashCode
|
|
- System.Object.GetType
|
|
- System.Object.MemberwiseClone
|
|
- System.Object.ReferenceEquals(System.Object,System.Object)
|
|
- System.Object.ToString
|
|
extensionMethods:
|
|
- System.Object.adas_core.Domain.Utils.NumberUtils.IsNumber
|
|
- System.Object.adas_core.Domain.Utils.NumberUtils.ToDouble
|
|
- System.Object.adas_core.Domain.Utils.ObjectUtils.ToStr
|
|
- uid: adas_core.Domain.Utils.JwtHelper.GetJwtToken(System.String,System.String,System.String,System.String,System.Int32,System.Security.Claims.Claim[])
|
|
commentId: M:adas_core.Domain.Utils.JwtHelper.GetJwtToken(System.String,System.String,System.String,System.String,System.Int32,System.Security.Claims.Claim[])
|
|
id: GetJwtToken(System.String,System.String,System.String,System.String,System.Int32,System.Security.Claims.Claim[])
|
|
parent: adas_core.Domain.Utils.JwtHelper
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: GetJwtToken(string, string, string, string, int, Claim[]?)
|
|
nameWithType: JwtHelper.GetJwtToken(string, string, string, string, int, Claim[]?)
|
|
fullName: adas_core.Domain.Utils.JwtHelper.GetJwtToken(string, string, string, string, int, System.Security.Claims.Claim[]?)
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: adas-core.Domain/Utils/JwtHelper.cs
|
|
branch: document/release/1.0.1
|
|
repo: https://git.teralevel.io/adas/adas-core.git
|
|
id: GetJwtToken
|
|
path: ../../adas-core.Domain/Utils/JwtHelper.cs
|
|
startLine: 27
|
|
assemblies:
|
|
- adas-core.Domain
|
|
namespace: adas_core.Domain.Utils
|
|
summary: >-
|
|
Creates a new JWT security token for the specified user, signing it with the provided secret using HMAC-SHA256.
|
|
|
|
The token includes standard subject, name, name identifier, and unique token identifier (JTI) claims, and optionally merges any additional claims supplied.
|
|
example: []
|
|
syntax:
|
|
content: public static JwtSecurityToken GetJwtToken(string username, string secret, string issuer, string audience, int expiration, Claim[]? additionalClaims = null)
|
|
parameters:
|
|
- id: username
|
|
type: System.String
|
|
description: The subject identifier used to populate the token's Sub, Name, and NameIdentifier claims.
|
|
- id: secret
|
|
type: System.String
|
|
description: The symmetric secret used to derive the signing key for the token.
|
|
- id: issuer
|
|
type: System.String
|
|
description: The issuer (iss claim) to associate with the token.
|
|
- id: audience
|
|
type: System.String
|
|
description: The audience (aud claim) to associate with the token.
|
|
- id: expiration
|
|
type: System.Int32
|
|
description: The token lifetime in minutes, added to the current UTC time to compute the expiration date.
|
|
- id: additionalClaims
|
|
type: System.Security.Claims.Claim[]
|
|
description: Optional extra claims to merge into the token alongside the standard claims. If null, only the default claims are included.
|
|
return:
|
|
type: System.IdentityModel.Tokens.Jwt.JwtSecurityToken
|
|
description: A <xref href="System.IdentityModel.Tokens.Jwt.JwtSecurityToken" data-throw-if-not-resolved="false"></xref> signed with HMAC-SHA256 and configured with the supplied issuer, audience, expiration, and claims.
|
|
content.vb: Public Shared Function GetJwtToken(username As String, secret As String, issuer As String, audience As String, expiration As Integer, additionalClaims As Claim() = Nothing) As JwtSecurityToken
|
|
overload: adas_core.Domain.Utils.JwtHelper.GetJwtToken*
|
|
nameWithType.vb: JwtHelper.GetJwtToken(String, String, String, String, Integer, Claim())
|
|
fullName.vb: adas_core.Domain.Utils.JwtHelper.GetJwtToken(String, String, String, String, Integer, System.Security.Claims.Claim())
|
|
name.vb: GetJwtToken(String, String, String, String, Integer, Claim())
|
|
- uid: adas_core.Domain.Utils.JwtHelper.GenerateRefreshToken
|
|
commentId: M:adas_core.Domain.Utils.JwtHelper.GenerateRefreshToken
|
|
id: GenerateRefreshToken
|
|
parent: adas_core.Domain.Utils.JwtHelper
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: GenerateRefreshToken()
|
|
nameWithType: JwtHelper.GenerateRefreshToken()
|
|
fullName: adas_core.Domain.Utils.JwtHelper.GenerateRefreshToken()
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: adas-core.Domain/Utils/JwtHelper.cs
|
|
branch: document/release/1.0.1
|
|
repo: https://git.teralevel.io/adas/adas-core.git
|
|
id: GenerateRefreshToken
|
|
path: ../../adas-core.Domain/Utils/JwtHelper.cs
|
|
startLine: 72
|
|
assemblies:
|
|
- adas-core.Domain
|
|
namespace: adas_core.Domain.Utils
|
|
summary: Generates a cryptographically secure refresh token by producing 64 random bytes using <xref href="System.Security.Cryptography.RandomNumberGenerator" data-throw-if-not-resolved="false"></xref> and returning the value as a Base64-encoded string.
|
|
example: []
|
|
syntax:
|
|
content: public static string GenerateRefreshToken()
|
|
return:
|
|
type: System.String
|
|
description: A Base64-encoded string representation of a 64-byte cryptographically random sequence suitable for use as a refresh token.
|
|
content.vb: Public Shared Function GenerateRefreshToken() As String
|
|
overload: adas_core.Domain.Utils.JwtHelper.GenerateRefreshToken*
|
|
- uid: adas_core.Domain.Utils.JwtHelper.GetUsernameFromPrincipal(System.Security.Claims.ClaimsPrincipal)
|
|
commentId: M:adas_core.Domain.Utils.JwtHelper.GetUsernameFromPrincipal(System.Security.Claims.ClaimsPrincipal)
|
|
id: GetUsernameFromPrincipal(System.Security.Claims.ClaimsPrincipal)
|
|
parent: adas_core.Domain.Utils.JwtHelper
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: GetUsernameFromPrincipal(ClaimsPrincipal)
|
|
nameWithType: JwtHelper.GetUsernameFromPrincipal(ClaimsPrincipal)
|
|
fullName: adas_core.Domain.Utils.JwtHelper.GetUsernameFromPrincipal(System.Security.Claims.ClaimsPrincipal)
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: adas-core.Domain/Utils/JwtHelper.cs
|
|
branch: document/release/1.0.1
|
|
repo: https://git.teralevel.io/adas/adas-core.git
|
|
id: GetUsernameFromPrincipal
|
|
path: ../../adas-core.Domain/Utils/JwtHelper.cs
|
|
startLine: 85
|
|
assemblies:
|
|
- adas-core.Domain
|
|
namespace: adas_core.Domain.Utils
|
|
summary: return username from claim
|
|
example: []
|
|
syntax:
|
|
content: public static string? GetUsernameFromPrincipal(ClaimsPrincipal principal)
|
|
parameters:
|
|
- id: principal
|
|
type: System.Security.Claims.ClaimsPrincipal
|
|
description: ''
|
|
return:
|
|
type: System.String
|
|
description: ''
|
|
content.vb: Public Shared Function GetUsernameFromPrincipal(principal As ClaimsPrincipal) As String
|
|
overload: adas_core.Domain.Utils.JwtHelper.GetUsernameFromPrincipal*
|
|
references:
|
|
- uid: adas_core.Domain.Utils
|
|
commentId: N:adas_core.Domain.Utils
|
|
href: adas_core.html
|
|
name: adas_core.Domain.Utils
|
|
nameWithType: adas_core.Domain.Utils
|
|
fullName: adas_core.Domain.Utils
|
|
spec.csharp:
|
|
- uid: adas_core
|
|
name: adas_core
|
|
href: adas_core.html
|
|
- name: .
|
|
- uid: adas_core.Domain
|
|
name: Domain
|
|
href: adas_core.Domain.html
|
|
- name: .
|
|
- uid: adas_core.Domain.Utils
|
|
name: Utils
|
|
href: adas_core.Domain.Utils.html
|
|
spec.vb:
|
|
- uid: adas_core
|
|
name: adas_core
|
|
href: adas_core.html
|
|
- name: .
|
|
- uid: adas_core.Domain
|
|
name: Domain
|
|
href: adas_core.Domain.html
|
|
- name: .
|
|
- uid: adas_core.Domain.Utils
|
|
name: Utils
|
|
href: adas_core.Domain.Utils.html
|
|
- uid: System.Object
|
|
commentId: T:System.Object
|
|
parent: System
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
name: object
|
|
nameWithType: object
|
|
fullName: object
|
|
nameWithType.vb: Object
|
|
fullName.vb: Object
|
|
name.vb: Object
|
|
- uid: System.Object.Equals(System.Object)
|
|
commentId: M:System.Object.Equals(System.Object)
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
|
|
name: Equals(object)
|
|
nameWithType: object.Equals(object)
|
|
fullName: object.Equals(object)
|
|
nameWithType.vb: Object.Equals(Object)
|
|
fullName.vb: Object.Equals(Object)
|
|
name.vb: Equals(Object)
|
|
spec.csharp:
|
|
- uid: System.Object.Equals(System.Object)
|
|
name: Equals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
|
|
- name: (
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.Equals(System.Object)
|
|
name: Equals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
|
|
- name: (
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
- uid: System.Object.Equals(System.Object,System.Object)
|
|
commentId: M:System.Object.Equals(System.Object,System.Object)
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
|
|
name: Equals(object, object)
|
|
nameWithType: object.Equals(object, object)
|
|
fullName: object.Equals(object, object)
|
|
nameWithType.vb: Object.Equals(Object, Object)
|
|
fullName.vb: Object.Equals(Object, Object)
|
|
name.vb: Equals(Object, Object)
|
|
spec.csharp:
|
|
- uid: System.Object.Equals(System.Object,System.Object)
|
|
name: Equals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
|
|
- name: (
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: ','
|
|
- name: " "
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.Equals(System.Object,System.Object)
|
|
name: Equals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
|
|
- name: (
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: ','
|
|
- name: " "
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
- uid: System.Object.GetHashCode
|
|
commentId: M:System.Object.GetHashCode
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
|
|
name: GetHashCode()
|
|
nameWithType: object.GetHashCode()
|
|
fullName: object.GetHashCode()
|
|
nameWithType.vb: Object.GetHashCode()
|
|
fullName.vb: Object.GetHashCode()
|
|
spec.csharp:
|
|
- uid: System.Object.GetHashCode
|
|
name: GetHashCode
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
|
|
- name: (
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.GetHashCode
|
|
name: GetHashCode
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
|
|
- name: (
|
|
- name: )
|
|
- uid: System.Object.GetType
|
|
commentId: M:System.Object.GetType
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
|
|
name: GetType()
|
|
nameWithType: object.GetType()
|
|
fullName: object.GetType()
|
|
nameWithType.vb: Object.GetType()
|
|
fullName.vb: Object.GetType()
|
|
spec.csharp:
|
|
- uid: System.Object.GetType
|
|
name: GetType
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
|
|
- name: (
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.GetType
|
|
name: GetType
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
|
|
- name: (
|
|
- name: )
|
|
- uid: System.Object.MemberwiseClone
|
|
commentId: M:System.Object.MemberwiseClone
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
|
|
name: MemberwiseClone()
|
|
nameWithType: object.MemberwiseClone()
|
|
fullName: object.MemberwiseClone()
|
|
nameWithType.vb: Object.MemberwiseClone()
|
|
fullName.vb: Object.MemberwiseClone()
|
|
spec.csharp:
|
|
- uid: System.Object.MemberwiseClone
|
|
name: MemberwiseClone
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
|
|
- name: (
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.MemberwiseClone
|
|
name: MemberwiseClone
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
|
|
- name: (
|
|
- name: )
|
|
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
|
|
commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
|
|
name: ReferenceEquals(object, object)
|
|
nameWithType: object.ReferenceEquals(object, object)
|
|
fullName: object.ReferenceEquals(object, object)
|
|
nameWithType.vb: Object.ReferenceEquals(Object, Object)
|
|
fullName.vb: Object.ReferenceEquals(Object, Object)
|
|
name.vb: ReferenceEquals(Object, Object)
|
|
spec.csharp:
|
|
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
|
|
name: ReferenceEquals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
|
|
- name: (
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: ','
|
|
- name: " "
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
|
|
name: ReferenceEquals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
|
|
- name: (
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: ','
|
|
- name: " "
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
- uid: System.Object.ToString
|
|
commentId: M:System.Object.ToString
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
|
|
name: ToString()
|
|
nameWithType: object.ToString()
|
|
fullName: object.ToString()
|
|
nameWithType.vb: Object.ToString()
|
|
fullName.vb: Object.ToString()
|
|
spec.csharp:
|
|
- uid: System.Object.ToString
|
|
name: ToString
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
|
|
- name: (
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.ToString
|
|
name: ToString
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
|
|
- name: (
|
|
- name: )
|
|
- uid: System.Object.adas_core.Domain.Utils.NumberUtils.IsNumber
|
|
commentId: M:adas_core.Domain.Utils.NumberUtils.IsNumber(System.Object)
|
|
parent: adas_core.Domain.Utils.NumberUtils
|
|
definition: adas_core.Domain.Utils.NumberUtils.IsNumber(System.Object)
|
|
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_
|
|
name: IsNumber(object)
|
|
nameWithType: NumberUtils.IsNumber(object)
|
|
fullName: adas_core.Domain.Utils.NumberUtils.IsNumber(object)
|
|
nameWithType.vb: NumberUtils.IsNumber(Object)
|
|
fullName.vb: adas_core.Domain.Utils.NumberUtils.IsNumber(Object)
|
|
name.vb: IsNumber(Object)
|
|
spec.csharp:
|
|
- uid: adas_core.Domain.Utils.NumberUtils.IsNumber(System.Object)
|
|
name: IsNumber
|
|
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_
|
|
- name: (
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
spec.vb:
|
|
- uid: adas_core.Domain.Utils.NumberUtils.IsNumber(System.Object)
|
|
name: IsNumber
|
|
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_
|
|
- name: (
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
- uid: System.Object.adas_core.Domain.Utils.NumberUtils.ToDouble
|
|
commentId: M:adas_core.Domain.Utils.NumberUtils.ToDouble(System.Object)
|
|
parent: adas_core.Domain.Utils.NumberUtils
|
|
definition: adas_core.Domain.Utils.NumberUtils.ToDouble(System.Object)
|
|
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_
|
|
name: ToDouble(object)
|
|
nameWithType: NumberUtils.ToDouble(object)
|
|
fullName: adas_core.Domain.Utils.NumberUtils.ToDouble(object)
|
|
nameWithType.vb: NumberUtils.ToDouble(Object)
|
|
fullName.vb: adas_core.Domain.Utils.NumberUtils.ToDouble(Object)
|
|
name.vb: ToDouble(Object)
|
|
spec.csharp:
|
|
- uid: adas_core.Domain.Utils.NumberUtils.ToDouble(System.Object)
|
|
name: ToDouble
|
|
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_
|
|
- name: (
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
spec.vb:
|
|
- uid: adas_core.Domain.Utils.NumberUtils.ToDouble(System.Object)
|
|
name: ToDouble
|
|
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_
|
|
- name: (
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
- uid: System.Object.adas_core.Domain.Utils.ObjectUtils.ToStr
|
|
commentId: M:adas_core.Domain.Utils.ObjectUtils.ToStr(System.Object)
|
|
parent: adas_core.Domain.Utils.ObjectUtils
|
|
definition: adas_core.Domain.Utils.ObjectUtils.ToStr(System.Object)
|
|
href: adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_
|
|
name: ToStr(object)
|
|
nameWithType: ObjectUtils.ToStr(object)
|
|
fullName: adas_core.Domain.Utils.ObjectUtils.ToStr(object)
|
|
nameWithType.vb: ObjectUtils.ToStr(Object)
|
|
fullName.vb: adas_core.Domain.Utils.ObjectUtils.ToStr(Object)
|
|
name.vb: ToStr(Object)
|
|
spec.csharp:
|
|
- uid: adas_core.Domain.Utils.ObjectUtils.ToStr(System.Object)
|
|
name: ToStr
|
|
href: adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_
|
|
- name: (
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
spec.vb:
|
|
- uid: adas_core.Domain.Utils.ObjectUtils.ToStr(System.Object)
|
|
name: ToStr
|
|
href: adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_
|
|
- name: (
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
- uid: System
|
|
commentId: N:System
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system
|
|
name: System
|
|
nameWithType: System
|
|
fullName: System
|
|
- uid: adas_core.Domain.Utils.NumberUtils.IsNumber(System.Object)
|
|
commentId: M:adas_core.Domain.Utils.NumberUtils.IsNumber(System.Object)
|
|
isExternal: true
|
|
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_
|
|
name: IsNumber(object)
|
|
nameWithType: NumberUtils.IsNumber(object)
|
|
fullName: adas_core.Domain.Utils.NumberUtils.IsNumber(object)
|
|
nameWithType.vb: NumberUtils.IsNumber(Object)
|
|
fullName.vb: adas_core.Domain.Utils.NumberUtils.IsNumber(Object)
|
|
name.vb: IsNumber(Object)
|
|
spec.csharp:
|
|
- uid: adas_core.Domain.Utils.NumberUtils.IsNumber(System.Object)
|
|
name: IsNumber
|
|
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_
|
|
- name: (
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
spec.vb:
|
|
- uid: adas_core.Domain.Utils.NumberUtils.IsNumber(System.Object)
|
|
name: IsNumber
|
|
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_IsNumber_System_Object_
|
|
- name: (
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
- uid: adas_core.Domain.Utils.NumberUtils
|
|
commentId: T:adas_core.Domain.Utils.NumberUtils
|
|
parent: adas_core.Domain.Utils
|
|
href: adas_core.Domain.Utils.NumberUtils.html
|
|
name: NumberUtils
|
|
nameWithType: NumberUtils
|
|
fullName: adas_core.Domain.Utils.NumberUtils
|
|
- uid: adas_core.Domain.Utils.NumberUtils.ToDouble(System.Object)
|
|
commentId: M:adas_core.Domain.Utils.NumberUtils.ToDouble(System.Object)
|
|
isExternal: true
|
|
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_
|
|
name: ToDouble(object)
|
|
nameWithType: NumberUtils.ToDouble(object)
|
|
fullName: adas_core.Domain.Utils.NumberUtils.ToDouble(object)
|
|
nameWithType.vb: NumberUtils.ToDouble(Object)
|
|
fullName.vb: adas_core.Domain.Utils.NumberUtils.ToDouble(Object)
|
|
name.vb: ToDouble(Object)
|
|
spec.csharp:
|
|
- uid: adas_core.Domain.Utils.NumberUtils.ToDouble(System.Object)
|
|
name: ToDouble
|
|
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_
|
|
- name: (
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
spec.vb:
|
|
- uid: adas_core.Domain.Utils.NumberUtils.ToDouble(System.Object)
|
|
name: ToDouble
|
|
href: adas_core.Domain.Utils.NumberUtils.html#adas_core_Domain_Utils_NumberUtils_ToDouble_System_Object_
|
|
- name: (
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
- uid: adas_core.Domain.Utils.ObjectUtils.ToStr(System.Object)
|
|
commentId: M:adas_core.Domain.Utils.ObjectUtils.ToStr(System.Object)
|
|
isExternal: true
|
|
href: adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_
|
|
name: ToStr(object)
|
|
nameWithType: ObjectUtils.ToStr(object)
|
|
fullName: adas_core.Domain.Utils.ObjectUtils.ToStr(object)
|
|
nameWithType.vb: ObjectUtils.ToStr(Object)
|
|
fullName.vb: adas_core.Domain.Utils.ObjectUtils.ToStr(Object)
|
|
name.vb: ToStr(Object)
|
|
spec.csharp:
|
|
- uid: adas_core.Domain.Utils.ObjectUtils.ToStr(System.Object)
|
|
name: ToStr
|
|
href: adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_
|
|
- name: (
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
spec.vb:
|
|
- uid: adas_core.Domain.Utils.ObjectUtils.ToStr(System.Object)
|
|
name: ToStr
|
|
href: adas_core.Domain.Utils.ObjectUtils.html#adas_core_Domain_Utils_ObjectUtils_ToStr_System_Object_
|
|
- name: (
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
- uid: adas_core.Domain.Utils.ObjectUtils
|
|
commentId: T:adas_core.Domain.Utils.ObjectUtils
|
|
parent: adas_core.Domain.Utils
|
|
href: adas_core.Domain.Utils.ObjectUtils.html
|
|
name: ObjectUtils
|
|
nameWithType: ObjectUtils
|
|
fullName: adas_core.Domain.Utils.ObjectUtils
|
|
- uid: System.IdentityModel.Tokens.Jwt.JwtSecurityToken
|
|
commentId: T:System.IdentityModel.Tokens.Jwt.JwtSecurityToken
|
|
parent: System.IdentityModel.Tokens.Jwt
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.identitymodel.tokens.jwt.jwtsecuritytoken
|
|
name: JwtSecurityToken
|
|
nameWithType: JwtSecurityToken
|
|
fullName: System.IdentityModel.Tokens.Jwt.JwtSecurityToken
|
|
- uid: adas_core.Domain.Utils.JwtHelper.GetJwtToken*
|
|
commentId: Overload:adas_core.Domain.Utils.JwtHelper.GetJwtToken
|
|
href: adas_core.Domain.Utils.JwtHelper.html#adas_core_Domain_Utils_JwtHelper_GetJwtToken_System_String_System_String_System_String_System_String_System_Int32_System_Security_Claims_Claim___
|
|
name: GetJwtToken
|
|
nameWithType: JwtHelper.GetJwtToken
|
|
fullName: adas_core.Domain.Utils.JwtHelper.GetJwtToken
|
|
- uid: System.String
|
|
commentId: T:System.String
|
|
parent: System
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.string
|
|
name: string
|
|
nameWithType: string
|
|
fullName: string
|
|
nameWithType.vb: String
|
|
fullName.vb: String
|
|
name.vb: String
|
|
- uid: System.Int32
|
|
commentId: T:System.Int32
|
|
parent: System
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.int32
|
|
name: int
|
|
nameWithType: int
|
|
fullName: int
|
|
nameWithType.vb: Integer
|
|
fullName.vb: Integer
|
|
name.vb: Integer
|
|
- uid: System.Security.Claims.Claim[]
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.security.claims.claim
|
|
name: Claim[]
|
|
nameWithType: Claim[]
|
|
fullName: System.Security.Claims.Claim[]
|
|
nameWithType.vb: Claim()
|
|
fullName.vb: System.Security.Claims.Claim()
|
|
name.vb: Claim()
|
|
spec.csharp:
|
|
- uid: System.Security.Claims.Claim
|
|
name: Claim
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.security.claims.claim
|
|
- name: '['
|
|
- name: ']'
|
|
spec.vb:
|
|
- uid: System.Security.Claims.Claim
|
|
name: Claim
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.security.claims.claim
|
|
- name: (
|
|
- name: )
|
|
- uid: System.IdentityModel.Tokens.Jwt
|
|
commentId: N:System.IdentityModel.Tokens.Jwt
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system
|
|
name: System.IdentityModel.Tokens.Jwt
|
|
nameWithType: System.IdentityModel.Tokens.Jwt
|
|
fullName: System.IdentityModel.Tokens.Jwt
|
|
spec.csharp:
|
|
- uid: System
|
|
name: System
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system
|
|
- name: .
|
|
- uid: System.IdentityModel
|
|
name: IdentityModel
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.identitymodel
|
|
- name: .
|
|
- uid: System.IdentityModel.Tokens
|
|
name: Tokens
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.identitymodel.tokens
|
|
- name: .
|
|
- uid: System.IdentityModel.Tokens.Jwt
|
|
name: Jwt
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.identitymodel.tokens.jwt
|
|
spec.vb:
|
|
- uid: System
|
|
name: System
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system
|
|
- name: .
|
|
- uid: System.IdentityModel
|
|
name: IdentityModel
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.identitymodel
|
|
- name: .
|
|
- uid: System.IdentityModel.Tokens
|
|
name: Tokens
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.identitymodel.tokens
|
|
- name: .
|
|
- uid: System.IdentityModel.Tokens.Jwt
|
|
name: Jwt
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.identitymodel.tokens.jwt
|
|
- uid: System.Security.Cryptography.RandomNumberGenerator
|
|
commentId: T:System.Security.Cryptography.RandomNumberGenerator
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.security.cryptography.randomnumbergenerator
|
|
name: RandomNumberGenerator
|
|
nameWithType: RandomNumberGenerator
|
|
fullName: System.Security.Cryptography.RandomNumberGenerator
|
|
- uid: adas_core.Domain.Utils.JwtHelper.GenerateRefreshToken*
|
|
commentId: Overload:adas_core.Domain.Utils.JwtHelper.GenerateRefreshToken
|
|
href: adas_core.Domain.Utils.JwtHelper.html#adas_core_Domain_Utils_JwtHelper_GenerateRefreshToken
|
|
name: GenerateRefreshToken
|
|
nameWithType: JwtHelper.GenerateRefreshToken
|
|
fullName: adas_core.Domain.Utils.JwtHelper.GenerateRefreshToken
|
|
- uid: adas_core.Domain.Utils.JwtHelper.GetUsernameFromPrincipal*
|
|
commentId: Overload:adas_core.Domain.Utils.JwtHelper.GetUsernameFromPrincipal
|
|
href: adas_core.Domain.Utils.JwtHelper.html#adas_core_Domain_Utils_JwtHelper_GetUsernameFromPrincipal_System_Security_Claims_ClaimsPrincipal_
|
|
name: GetUsernameFromPrincipal
|
|
nameWithType: JwtHelper.GetUsernameFromPrincipal
|
|
fullName: adas_core.Domain.Utils.JwtHelper.GetUsernameFromPrincipal
|
|
- uid: System.Security.Claims.ClaimsPrincipal
|
|
commentId: T:System.Security.Claims.ClaimsPrincipal
|
|
parent: System.Security.Claims
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.security.claims.claimsprincipal
|
|
name: ClaimsPrincipal
|
|
nameWithType: ClaimsPrincipal
|
|
fullName: System.Security.Claims.ClaimsPrincipal
|
|
- uid: System.Security.Claims
|
|
commentId: N:System.Security.Claims
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system
|
|
name: System.Security.Claims
|
|
nameWithType: System.Security.Claims
|
|
fullName: System.Security.Claims
|
|
spec.csharp:
|
|
- uid: System
|
|
name: System
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system
|
|
- name: .
|
|
- uid: System.Security
|
|
name: Security
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.security
|
|
- name: .
|
|
- uid: System.Security.Claims
|
|
name: Claims
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.security.claims
|
|
spec.vb:
|
|
- uid: System
|
|
name: System
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system
|
|
- name: .
|
|
- uid: System.Security
|
|
name: Security
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.security
|
|
- name: .
|
|
- uid: System.Security.Claims
|
|
name: Claims
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.security.claims
|