Files
adas-core/Documentation/docs/api/adas_core.Authentication.Interfaces.IUserService.yml
T
2026-06-26 10:29:23 +02:00

2050 lines
93 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: adas_core.Authentication.Interfaces.IUserService
commentId: T:adas_core.Authentication.Interfaces.IUserService
id: IUserService
parent: adas_core.Authentication.Interfaces
children:
- adas_core.Authentication.Interfaces.IUserService.CreateNewAuthority(adas_core.Domain.Models.MongoModels.Authorization)
- adas_core.Authentication.Interfaces.IUserService.CreateNewUserByRequest(adas_core.Domain.Models.MongoModels.User)
- adas_core.Authentication.Interfaces.IUserService.CreateNewUserWithAuthorities(adas_core.Domain.Models.DTO.CreateUserWithAuthDto)
- adas_core.Authentication.Interfaces.IUserService.CreateUser(adas_core.Domain.Models.MongoModels.User)
- adas_core.Authentication.Interfaces.IUserService.DeleteAuthority(System.String)
- adas_core.Authentication.Interfaces.IUserService.DeleteUser(MongoDB.Bson.ObjectId)
- adas_core.Authentication.Interfaces.IUserService.GenerateJwt(adas_core.Domain.Models.MongoModels.User)
- adas_core.Authentication.Interfaces.IUserService.GetAll
- adas_core.Authentication.Interfaces.IUserService.GetPaginatedUsers(adas_core.Domain.Models.Filter.PaginationFilter)
- adas_core.Authentication.Interfaces.IUserService.GetUser(System.String,System.String)
- adas_core.Authentication.Interfaces.IUserService.GetUserByCasTicket(System.String,System.String)
- adas_core.Authentication.Interfaces.IUserService.GetUserById(MongoDB.Bson.ObjectId)
- adas_core.Authentication.Interfaces.IUserService.GetUserByName(System.String)
- adas_core.Authentication.Interfaces.IUserService.GetUserByToken(System.IdentityModel.Tokens.Jwt.JwtSecurityToken)
- adas_core.Authentication.Interfaces.IUserService.GetUserByUserName(System.String)
- adas_core.Authentication.Interfaces.IUserService.Login(System.String,System.String)
- adas_core.Authentication.Interfaces.IUserService.LoginWithAccessToken(System.String)
- adas_core.Authentication.Interfaces.IUserService.LoginWithGivenAccessToken(System.String)
- adas_core.Authentication.Interfaces.IUserService.RefreshToken(System.String)
- adas_core.Authentication.Interfaces.IUserService.TokenTypeRefresh
- adas_core.Authentication.Interfaces.IUserService.TokenTypeUser
- adas_core.Authentication.Interfaces.IUserService.UpdateAuthority(adas_core.Domain.Models.MongoModels.Authorization)
- adas_core.Authentication.Interfaces.IUserService.UpdateUserPassword(MongoDB.Bson.ObjectId,System.String,System.String)
- adas_core.Authentication.Interfaces.IUserService.UpdateUserWithAuthorities(adas_core.Domain.Models.DTO.UpdateUserWithAuthDto,System.Boolean)
- adas_core.Authentication.Interfaces.IUserService.UpdateUsersByRequest(adas_core.Domain.Models.MongoModels.User,System.Boolean)
- adas_core.Authentication.Interfaces.IUserService.ValidateToken(System.String,System.String,Microsoft.IdentityModel.Tokens.SecurityToken@)
langs:
- csharp
- vb
name: IUserService
nameWithType: IUserService
fullName: adas_core.Authentication.Interfaces.IUserService
type: Interface
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: IUserService
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 11
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
syntax:
content: public interface IUserService
content.vb: Public Interface IUserService
derivedClasses:
- adas_core.Authentication.UserService
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.Authentication.Interfaces.IUserService.TokenTypeUser
commentId: F:adas_core.Authentication.Interfaces.IUserService.TokenTypeUser
id: TokenTypeUser
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: TokenTypeUser
nameWithType: IUserService.TokenTypeUser
fullName: adas_core.Authentication.Interfaces.IUserService.TokenTypeUser
type: Field
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: TokenTypeUser
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 13
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
syntax:
content: public static readonly string TokenTypeUser
return:
type: System.String
content.vb: Public Shared ReadOnly TokenTypeUser As String
- uid: adas_core.Authentication.Interfaces.IUserService.TokenTypeRefresh
commentId: F:adas_core.Authentication.Interfaces.IUserService.TokenTypeRefresh
id: TokenTypeRefresh
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: TokenTypeRefresh
nameWithType: IUserService.TokenTypeRefresh
fullName: adas_core.Authentication.Interfaces.IUserService.TokenTypeRefresh
type: Field
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: TokenTypeRefresh
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 14
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
syntax:
content: public static readonly string TokenTypeRefresh
return:
type: System.String
content.vb: Public Shared ReadOnly TokenTypeRefresh As String
- uid: adas_core.Authentication.Interfaces.IUserService.Login(System.String,System.String)
commentId: M:adas_core.Authentication.Interfaces.IUserService.Login(System.String,System.String)
id: Login(System.String,System.String)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: Login(string, string)
nameWithType: IUserService.Login(string, string)
fullName: adas_core.Authentication.Interfaces.IUserService.Login(string, string)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: Login
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 22
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Authenticates a user with the provided credentials and returns a token result upon successful login.
example: []
syntax:
content: Task<TokenResult> Login(string username, string password)
parameters:
- id: username
type: System.String
description: The username of the user attempting to log in.
- id: password
type: System.String
description: The password associated with the specified username.
return:
type: System.Threading.Tasks.Task{adas_core.Authentication.Models.TokenResult}
description: A task that represents the asynchronous login operation, containing the <xref href="adas_core.Authentication.Models.TokenResult" data-throw-if-not-resolved="false"></xref> with the authentication token information.
content.vb: Function Login(username As String, password As String) As Task(Of TokenResult)
overload: adas_core.Authentication.Interfaces.IUserService.Login*
nameWithType.vb: IUserService.Login(String, String)
fullName.vb: adas_core.Authentication.Interfaces.IUserService.Login(String, String)
name.vb: Login(String, String)
- uid: adas_core.Authentication.Interfaces.IUserService.GetUser(System.String,System.String)
commentId: M:adas_core.Authentication.Interfaces.IUserService.GetUser(System.String,System.String)
id: GetUser(System.String,System.String)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: GetUser(string, string)
nameWithType: IUserService.GetUser(string, string)
fullName: adas_core.Authentication.Interfaces.IUserService.GetUser(string, string)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: GetUser
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 29
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Authenticates a user based on the provided username and password and returns the corresponding user.
example: []
syntax:
content: Task<User> GetUser(string username, string password)
parameters:
- id: username
type: System.String
description: The username of the user to authenticate.
- id: password
type: System.String
description: The password of the user to authenticate.
return:
type: System.Threading.Tasks.Task{adas_core.Domain.Models.MongoModels.User}
description: A task that represents the asynchronous operation. The task result contains the authenticated <xref href="adas_core.Domain.Models.MongoModels.User" data-throw-if-not-resolved="false"></xref>.
content.vb: Function GetUser(username As String, password As String) As Task(Of User)
overload: adas_core.Authentication.Interfaces.IUserService.GetUser*
nameWithType.vb: IUserService.GetUser(String, String)
fullName.vb: adas_core.Authentication.Interfaces.IUserService.GetUser(String, String)
name.vb: GetUser(String, String)
- uid: adas_core.Authentication.Interfaces.IUserService.RefreshToken(System.String)
commentId: M:adas_core.Authentication.Interfaces.IUserService.RefreshToken(System.String)
id: RefreshToken(System.String)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: RefreshToken(string)
nameWithType: IUserService.RefreshToken(string)
fullName: adas_core.Authentication.Interfaces.IUserService.RefreshToken(string)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: RefreshToken
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 35
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Refreshes an authentication token using the provided refresh token and returns the resulting token information.
example: []
syntax:
content: Task<TokenResult> RefreshToken(string refreshToken)
parameters:
- id: refreshToken
type: System.String
description: The refresh token used to obtain a new access token.
return:
type: System.Threading.Tasks.Task{adas_core.Authentication.Models.TokenResult}
description: A <xref href="System.Threading.Tasks.Task%601" data-throw-if-not-resolved="false"></xref> that represents the asynchronous operation, containing the <xref href="adas_core.Authentication.Models.TokenResult" data-throw-if-not-resolved="false"></xref> with the refreshed token details.
content.vb: Function RefreshToken(refreshToken As String) As Task(Of TokenResult)
overload: adas_core.Authentication.Interfaces.IUserService.RefreshToken*
nameWithType.vb: IUserService.RefreshToken(String)
fullName.vb: adas_core.Authentication.Interfaces.IUserService.RefreshToken(String)
name.vb: RefreshToken(String)
- uid: adas_core.Authentication.Interfaces.IUserService.LoginWithAccessToken(System.String)
commentId: M:adas_core.Authentication.Interfaces.IUserService.LoginWithAccessToken(System.String)
id: LoginWithAccessToken(System.String)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: LoginWithAccessToken(string)
nameWithType: IUserService.LoginWithAccessToken(string)
fullName: adas_core.Authentication.Interfaces.IUserService.LoginWithAccessToken(string)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: LoginWithAccessToken
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 42
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Authenticates a user by exchanging a provided access token for a login result.
example: []
syntax:
content: Task<TokenResult> LoginWithAccessToken(string token)
parameters:
- id: token
type: System.String
description: The access token used to authenticate the user.
return:
type: System.Threading.Tasks.Task{adas_core.Authentication.Models.TokenResult}
description: A task that represents the asynchronous login operation, containing the <xref href="adas_core.Authentication.Models.TokenResult" data-throw-if-not-resolved="false"></xref> with the outcome of the authentication.
content.vb: Function LoginWithAccessToken(token As String) As Task(Of TokenResult)
overload: adas_core.Authentication.Interfaces.IUserService.LoginWithAccessToken*
nameWithType.vb: IUserService.LoginWithAccessToken(String)
fullName.vb: adas_core.Authentication.Interfaces.IUserService.LoginWithAccessToken(String)
name.vb: LoginWithAccessToken(String)
- uid: adas_core.Authentication.Interfaces.IUserService.ValidateToken(System.String,System.String,Microsoft.IdentityModel.Tokens.SecurityToken@)
commentId: M:adas_core.Authentication.Interfaces.IUserService.ValidateToken(System.String,System.String,Microsoft.IdentityModel.Tokens.SecurityToken@)
id: ValidateToken(System.String,System.String,Microsoft.IdentityModel.Tokens.SecurityToken@)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: ValidateToken(string, string, out SecurityToken)
nameWithType: IUserService.ValidateToken(string, string, out SecurityToken)
fullName: adas_core.Authentication.Interfaces.IUserService.ValidateToken(string, string, out Microsoft.IdentityModel.Tokens.SecurityToken)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: ValidateToken
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 49
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Validates the specified token according to its type and outputs the corresponding <xref href="Microsoft.IdentityModel.Tokens.SecurityToken" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: void ValidateToken(string token, string tokenType, out SecurityToken securityToken)
parameters:
- id: token
type: System.String
description: The token string to be validated.
- id: tokenType
type: System.String
description: The type of the token, used to determine the appropriate validation strategy.
- id: securityToken
type: Microsoft.IdentityModel.Tokens.SecurityToken
description: When the method returns, contains the validated <xref href="Microsoft.IdentityModel.Tokens.SecurityToken" data-throw-if-not-resolved="false"></xref> if validation succeeds.
content.vb: Sub ValidateToken(token As String, tokenType As String, securityToken As SecurityToken)
overload: adas_core.Authentication.Interfaces.IUserService.ValidateToken*
nameWithType.vb: IUserService.ValidateToken(String, String, SecurityToken)
fullName.vb: adas_core.Authentication.Interfaces.IUserService.ValidateToken(String, String, Microsoft.IdentityModel.Tokens.SecurityToken)
name.vb: ValidateToken(String, String, SecurityToken)
- uid: adas_core.Authentication.Interfaces.IUserService.GetUserByToken(System.IdentityModel.Tokens.Jwt.JwtSecurityToken)
commentId: M:adas_core.Authentication.Interfaces.IUserService.GetUserByToken(System.IdentityModel.Tokens.Jwt.JwtSecurityToken)
id: GetUserByToken(System.IdentityModel.Tokens.Jwt.JwtSecurityToken)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: GetUserByToken(JwtSecurityToken?)
nameWithType: IUserService.GetUserByToken(JwtSecurityToken?)
fullName: adas_core.Authentication.Interfaces.IUserService.GetUserByToken(System.IdentityModel.Tokens.Jwt.JwtSecurityToken?)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: GetUserByToken
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 56
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: >-
Retrieves the user associated with the provided JWT security token.
Returns <code>null</code> if the token is <code>null</code> or if no matching user is found.
example: []
syntax:
content: Task<User?> GetUserByToken(JwtSecurityToken? jwtToken)
parameters:
- id: jwtToken
type: System.IdentityModel.Tokens.Jwt.JwtSecurityToken
description: The JWT security token used to identify the user. May be <code>null</code>.
return:
type: System.Threading.Tasks.Task{adas_core.Domain.Models.MongoModels.User}
description: A task that resolves to the <xref href="adas_core.Domain.Models.MongoModels.User" data-throw-if-not-resolved="false"></xref> associated with the token, or <code>null</code> if the token is invalid or no user matches.
content.vb: Function GetUserByToken(jwtToken As JwtSecurityToken) As Task(Of User)
overload: adas_core.Authentication.Interfaces.IUserService.GetUserByToken*
nameWithType.vb: IUserService.GetUserByToken(JwtSecurityToken)
fullName.vb: adas_core.Authentication.Interfaces.IUserService.GetUserByToken(System.IdentityModel.Tokens.Jwt.JwtSecurityToken)
name.vb: GetUserByToken(JwtSecurityToken)
- uid: adas_core.Authentication.Interfaces.IUserService.GetUserByCasTicket(System.String,System.String)
commentId: M:adas_core.Authentication.Interfaces.IUserService.GetUserByCasTicket(System.String,System.String)
id: GetUserByCasTicket(System.String,System.String)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: GetUserByCasTicket(string, string)
nameWithType: IUserService.GetUserByCasTicket(string, string)
fullName: adas_core.Authentication.Interfaces.IUserService.GetUserByCasTicket(string, string)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: GetUserByCasTicket
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 63
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Asynchronously retrieves a user by validating a CAS (Central Authentication Service) ticket against the specified service.
example: []
syntax:
content: Task<User?> GetUserByCasTicket(string service, string ticket)
parameters:
- id: service
type: System.String
description: The service URL or identifier that the ticket was issued for and must be validated against.
- id: ticket
type: System.String
description: The CAS ticket string used to authenticate and identify the user.
return:
type: System.Threading.Tasks.Task{adas_core.Domain.Models.MongoModels.User}
description: A task that represents the asynchronous operation. The task result contains the associated <xref href="adas_core.Domain.Models.MongoModels.User" data-throw-if-not-resolved="false"></xref> if the ticket is valid, or <code>null</code> if the user cannot be found.
content.vb: Function GetUserByCasTicket(service As String, ticket As String) As Task(Of User)
overload: adas_core.Authentication.Interfaces.IUserService.GetUserByCasTicket*
nameWithType.vb: IUserService.GetUserByCasTicket(String, String)
fullName.vb: adas_core.Authentication.Interfaces.IUserService.GetUserByCasTicket(String, String)
name.vb: GetUserByCasTicket(String, String)
- uid: adas_core.Authentication.Interfaces.IUserService.GenerateJwt(adas_core.Domain.Models.MongoModels.User)
commentId: M:adas_core.Authentication.Interfaces.IUserService.GenerateJwt(adas_core.Domain.Models.MongoModels.User)
id: GenerateJwt(adas_core.Domain.Models.MongoModels.User)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: GenerateJwt(User)
nameWithType: IUserService.GenerateJwt(User)
fullName: adas_core.Authentication.Interfaces.IUserService.GenerateJwt(adas_core.Domain.Models.MongoModels.User)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: GenerateJwt
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 69
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Asynchronously generates a JSON Web Token (JWT) for the specified user and returns the token result.
example: []
syntax:
content: Task<TokenResult> GenerateJwt(User user)
parameters:
- id: user
type: adas_core.Domain.Models.MongoModels.User
description: The user for whom the JWT is being generated.
return:
type: System.Threading.Tasks.Task{adas_core.Authentication.Models.TokenResult}
description: A task that represents the asynchronous operation, containing the <xref href="adas_core.Authentication.Models.TokenResult" data-throw-if-not-resolved="false"></xref> with the generated token details.
content.vb: Function GenerateJwt(user As User) As Task(Of TokenResult)
overload: adas_core.Authentication.Interfaces.IUserService.GenerateJwt*
- uid: adas_core.Authentication.Interfaces.IUserService.GetAll
commentId: M:adas_core.Authentication.Interfaces.IUserService.GetAll
id: GetAll
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: GetAll()
nameWithType: IUserService.GetAll()
fullName: adas_core.Authentication.Interfaces.IUserService.GetAll()
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: GetAll
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 74
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Asynchronously retrieves all users from the data store.
example: []
syntax:
content: Task<List<User>> GetAll()
return:
type: System.Threading.Tasks.Task{System.Collections.Generic.List{adas_core.Domain.Models.MongoModels.User}}
description: A task that represents the asynchronous operation. The task result contains a list of all <xref href="adas_core.Domain.Models.MongoModels.User" data-throw-if-not-resolved="false"></xref> entities.
content.vb: Function GetAll() As Task(Of List(Of User))
overload: adas_core.Authentication.Interfaces.IUserService.GetAll*
- uid: adas_core.Authentication.Interfaces.IUserService.GetUserById(MongoDB.Bson.ObjectId)
commentId: M:adas_core.Authentication.Interfaces.IUserService.GetUserById(MongoDB.Bson.ObjectId)
id: GetUserById(MongoDB.Bson.ObjectId)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: GetUserById(ObjectId)
nameWithType: IUserService.GetUserById(ObjectId)
fullName: adas_core.Authentication.Interfaces.IUserService.GetUserById(MongoDB.Bson.ObjectId)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: GetUserById
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 80
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Asynchronously retrieves a user by their unique identifier, returning <code>null</code> when no user matches the provided id.
example: []
syntax:
content: Task<User?> GetUserById(ObjectId id)
parameters:
- id: id
type: MongoDB.Bson.ObjectId
description: The unique <xref href="MongoDB.Bson.ObjectId" data-throw-if-not-resolved="false"></xref> identifier of the user to look up.
return:
type: System.Threading.Tasks.Task{adas_core.Domain.Models.MongoModels.User}
description: A task that resolves to the matching <xref href="adas_core.Domain.Models.MongoModels.User" data-throw-if-not-resolved="false"></xref>, or <code>null</code> if no user is found for the given id.
content.vb: Function GetUserById(id As ObjectId) As Task(Of User)
overload: adas_core.Authentication.Interfaces.IUserService.GetUserById*
- uid: adas_core.Authentication.Interfaces.IUserService.GetUserByUserName(System.String)
commentId: M:adas_core.Authentication.Interfaces.IUserService.GetUserByUserName(System.String)
id: GetUserByUserName(System.String)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: GetUserByUserName(string)
nameWithType: IUserService.GetUserByUserName(string)
fullName: adas_core.Authentication.Interfaces.IUserService.GetUserByUserName(string)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: GetUserByUserName
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 86
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Asynchronously retrieves a user by their unique username, returning null when no matching user is found.
example: []
syntax:
content: Task<User?> GetUserByUserName(string name)
parameters:
- id: name
type: System.String
description: The username used to look up the user.
return:
type: System.Threading.Tasks.Task{adas_core.Domain.Models.MongoModels.User}
description: A task that represents the asynchronous operation, containing the matching user if found; otherwise, null.
content.vb: Function GetUserByUserName(name As String) As Task(Of User)
overload: adas_core.Authentication.Interfaces.IUserService.GetUserByUserName*
nameWithType.vb: IUserService.GetUserByUserName(String)
fullName.vb: adas_core.Authentication.Interfaces.IUserService.GetUserByUserName(String)
name.vb: GetUserByUserName(String)
- uid: adas_core.Authentication.Interfaces.IUserService.GetUserByName(System.String)
commentId: M:adas_core.Authentication.Interfaces.IUserService.GetUserByName(System.String)
id: GetUserByName(System.String)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: GetUserByName(string)
nameWithType: IUserService.GetUserByName(string)
fullName: adas_core.Authentication.Interfaces.IUserService.GetUserByName(string)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: GetUserByName
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 92
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Asynchronously retrieves a user matching the specified name, returning <code>null</code> when no matching user is found.
example: []
syntax:
content: Task<User?> GetUserByName(string name)
parameters:
- id: name
type: System.String
description: The name used to look up the user.
return:
type: System.Threading.Tasks.Task{adas_core.Domain.Models.MongoModels.User}
description: A task that resolves to the matching <xref href="adas_core.Domain.Models.MongoModels.User" data-throw-if-not-resolved="false"></xref>, or <code>null</code> if no user with the given name exists.
content.vb: Function GetUserByName(name As String) As Task(Of User)
overload: adas_core.Authentication.Interfaces.IUserService.GetUserByName*
nameWithType.vb: IUserService.GetUserByName(String)
fullName.vb: adas_core.Authentication.Interfaces.IUserService.GetUserByName(String)
name.vb: GetUserByName(String)
- uid: adas_core.Authentication.Interfaces.IUserService.CreateUser(adas_core.Domain.Models.MongoModels.User)
commentId: M:adas_core.Authentication.Interfaces.IUserService.CreateUser(adas_core.Domain.Models.MongoModels.User)
id: CreateUser(adas_core.Domain.Models.MongoModels.User)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: CreateUser(User)
nameWithType: IUserService.CreateUser(User)
fullName: adas_core.Authentication.Interfaces.IUserService.CreateUser(adas_core.Domain.Models.MongoModels.User)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: CreateUser
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 98
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Creates a user from the provided LDAP user entry.
example: []
syntax:
content: Task<User?> CreateUser(User userEntryLdap)
parameters:
- id: userEntryLdap
type: adas_core.Domain.Models.MongoModels.User
description: The LDAP user entry used to create the user.
return:
type: System.Threading.Tasks.Task{adas_core.Domain.Models.MongoModels.User}
description: A task that represents the asynchronous create operation, containing the created <xref href="adas_core.Domain.Models.MongoModels.User" data-throw-if-not-resolved="false"></xref> or <code>null</code>.
content.vb: Function CreateUser(userEntryLdap As User) As Task(Of User)
overload: adas_core.Authentication.Interfaces.IUserService.CreateUser*
- uid: adas_core.Authentication.Interfaces.IUserService.CreateNewUserByRequest(adas_core.Domain.Models.MongoModels.User)
commentId: M:adas_core.Authentication.Interfaces.IUserService.CreateNewUserByRequest(adas_core.Domain.Models.MongoModels.User)
id: CreateNewUserByRequest(adas_core.Domain.Models.MongoModels.User)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: CreateNewUserByRequest(User)
nameWithType: IUserService.CreateNewUserByRequest(User)
fullName: adas_core.Authentication.Interfaces.IUserService.CreateNewUserByRequest(adas_core.Domain.Models.MongoModels.User)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: CreateNewUserByRequest
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 105
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: >-
Creates a new user based on the provided user data, typically originating from an incoming request.
Returns the newly created user, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if the user could not be created.
example: []
syntax:
content: Task<User?> CreateNewUserByRequest(User user)
parameters:
- id: user
type: adas_core.Domain.Models.MongoModels.User
description: The user data to use for creating the new user.
return:
type: System.Threading.Tasks.Task{adas_core.Domain.Models.MongoModels.User}
description: A task that represents the asynchronous operation. The result is the created <xref href="adas_core.Domain.Models.MongoModels.User" data-throw-if-not-resolved="false"></xref>, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> if creation failed.
content.vb: Function CreateNewUserByRequest(user As User) As Task(Of User)
overload: adas_core.Authentication.Interfaces.IUserService.CreateNewUserByRequest*
- uid: adas_core.Authentication.Interfaces.IUserService.CreateNewUserWithAuthorities(adas_core.Domain.Models.DTO.CreateUserWithAuthDto)
commentId: M:adas_core.Authentication.Interfaces.IUserService.CreateNewUserWithAuthorities(adas_core.Domain.Models.DTO.CreateUserWithAuthDto)
id: CreateNewUserWithAuthorities(adas_core.Domain.Models.DTO.CreateUserWithAuthDto)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: CreateNewUserWithAuthorities(CreateUserWithAuthDto)
nameWithType: IUserService.CreateNewUserWithAuthorities(CreateUserWithAuthDto)
fullName: adas_core.Authentication.Interfaces.IUserService.CreateNewUserWithAuthorities(adas_core.Domain.Models.DTO.CreateUserWithAuthDto)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: CreateNewUserWithAuthorities
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 112
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Creates a new user together with the associated authorities based on the supplied data transfer object.
example: []
syntax:
content: Task<User?> CreateNewUserWithAuthorities(CreateUserWithAuthDto createUserWithAuthDto)
parameters:
- id: createUserWithAuthDto
type: adas_core.Domain.Models.DTO.CreateUserWithAuthDto
description: The data transfer object containing the information required to create the user and its authorities.
return:
type: System.Threading.Tasks.Task{adas_core.Domain.Models.MongoModels.User}
description: A task that represents the asynchronous operation. The task result contains the created <xref href="adas_core.Domain.Models.MongoModels.User" data-throw-if-not-resolved="false"></xref> instance, or <code>null</code> if no user was created.
content.vb: Function CreateNewUserWithAuthorities(createUserWithAuthDto As CreateUserWithAuthDto) As Task(Of User)
overload: adas_core.Authentication.Interfaces.IUserService.CreateNewUserWithAuthorities*
- uid: adas_core.Authentication.Interfaces.IUserService.UpdateUserWithAuthorities(adas_core.Domain.Models.DTO.UpdateUserWithAuthDto,System.Boolean)
commentId: M:adas_core.Authentication.Interfaces.IUserService.UpdateUserWithAuthorities(adas_core.Domain.Models.DTO.UpdateUserWithAuthDto,System.Boolean)
id: UpdateUserWithAuthorities(adas_core.Domain.Models.DTO.UpdateUserWithAuthDto,System.Boolean)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: UpdateUserWithAuthorities(UpdateUserWithAuthDto, bool)
nameWithType: IUserService.UpdateUserWithAuthorities(UpdateUserWithAuthDto, bool)
fullName: adas_core.Authentication.Interfaces.IUserService.UpdateUserWithAuthorities(adas_core.Domain.Models.DTO.UpdateUserWithAuthDto, bool)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: UpdateUserWithAuthorities
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 119
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Updates an existing user along with the associated authorities, optionally updating the password.
example: []
syntax:
content: Task<User?> UpdateUserWithAuthorities(UpdateUserWithAuthDto createUserWithAuthDto, bool updatePass)
parameters:
- id: createUserWithAuthDto
type: adas_core.Domain.Models.DTO.UpdateUserWithAuthDto
description: The data transfer object containing the user information and authorities to update.
- id: updatePass
type: System.Boolean
description: A flag indicating whether the user's password should be updated as part of the operation.
return:
type: System.Threading.Tasks.Task{adas_core.Domain.Models.MongoModels.User}
description: A task that represents the asynchronous operation, containing the updated <xref href="adas_core.Domain.Models.MongoModels.User" data-throw-if-not-resolved="false"></xref> or <code>null</code> if the user was not found.
content.vb: Function UpdateUserWithAuthorities(createUserWithAuthDto As UpdateUserWithAuthDto, updatePass As Boolean) As Task(Of User)
overload: adas_core.Authentication.Interfaces.IUserService.UpdateUserWithAuthorities*
nameWithType.vb: IUserService.UpdateUserWithAuthorities(UpdateUserWithAuthDto, Boolean)
fullName.vb: adas_core.Authentication.Interfaces.IUserService.UpdateUserWithAuthorities(adas_core.Domain.Models.DTO.UpdateUserWithAuthDto, Boolean)
name.vb: UpdateUserWithAuthorities(UpdateUserWithAuthDto, Boolean)
- uid: adas_core.Authentication.Interfaces.IUserService.UpdateUsersByRequest(adas_core.Domain.Models.MongoModels.User,System.Boolean)
commentId: M:adas_core.Authentication.Interfaces.IUserService.UpdateUsersByRequest(adas_core.Domain.Models.MongoModels.User,System.Boolean)
id: UpdateUsersByRequest(adas_core.Domain.Models.MongoModels.User,System.Boolean)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: UpdateUsersByRequest(User, bool)
nameWithType: IUserService.UpdateUsersByRequest(User, bool)
fullName: adas_core.Authentication.Interfaces.IUserService.UpdateUsersByRequest(adas_core.Domain.Models.MongoModels.User, bool)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: UpdateUsersByRequest
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 126
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Updates a user's information based on the provided user data, with an option to include password updates.
example: []
syntax:
content: Task<User?> UpdateUsersByRequest(User user, bool updatePass)
parameters:
- id: user
type: adas_core.Domain.Models.MongoModels.User
description: The user entity containing the updated information to be persisted.
- id: updatePass
type: System.Boolean
description: A flag indicating whether the user's password should be updated during this operation.
return:
type: System.Threading.Tasks.Task{adas_core.Domain.Models.MongoModels.User}
description: A task that returns the updated <xref href="adas_core.Domain.Models.MongoModels.User" data-throw-if-not-resolved="false"></xref>, or null if the user could not be found.
content.vb: Function UpdateUsersByRequest(user As User, updatePass As Boolean) As Task(Of User)
overload: adas_core.Authentication.Interfaces.IUserService.UpdateUsersByRequest*
nameWithType.vb: IUserService.UpdateUsersByRequest(User, Boolean)
fullName.vb: adas_core.Authentication.Interfaces.IUserService.UpdateUsersByRequest(adas_core.Domain.Models.MongoModels.User, Boolean)
name.vb: UpdateUsersByRequest(User, Boolean)
- uid: adas_core.Authentication.Interfaces.IUserService.UpdateUserPassword(MongoDB.Bson.ObjectId,System.String,System.String)
commentId: M:adas_core.Authentication.Interfaces.IUserService.UpdateUserPassword(MongoDB.Bson.ObjectId,System.String,System.String)
id: UpdateUserPassword(MongoDB.Bson.ObjectId,System.String,System.String)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: UpdateUserPassword(ObjectId, string, string)
nameWithType: IUserService.UpdateUserPassword(ObjectId, string, string)
fullName: adas_core.Authentication.Interfaces.IUserService.UpdateUserPassword(MongoDB.Bson.ObjectId, string, string)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: UpdateUserPassword
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 134
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Updates the password for the user identified by the specified identifier, verifying the old password before applying the new one.
example: []
syntax:
content: Task<bool> UpdateUserPassword(ObjectId id, string oldPassword, string newPassword)
parameters:
- id: id
type: MongoDB.Bson.ObjectId
description: The unique identifier of the user whose password will be updated.
- id: oldPassword
type: System.String
description: The user's current password, used to verify the request.
- id: newPassword
type: System.String
description: The new password to set for the user.
return:
type: System.Threading.Tasks.Task{System.Boolean}
description: A task that represents the asynchronous operation. The task result is <code>true</code> if the password was updated successfully; otherwise, <code>false</code>.
content.vb: Function UpdateUserPassword(id As ObjectId, oldPassword As String, newPassword As String) As Task(Of Boolean)
overload: adas_core.Authentication.Interfaces.IUserService.UpdateUserPassword*
nameWithType.vb: IUserService.UpdateUserPassword(ObjectId, String, String)
fullName.vb: adas_core.Authentication.Interfaces.IUserService.UpdateUserPassword(MongoDB.Bson.ObjectId, String, String)
name.vb: UpdateUserPassword(ObjectId, String, String)
- uid: adas_core.Authentication.Interfaces.IUserService.DeleteUser(MongoDB.Bson.ObjectId)
commentId: M:adas_core.Authentication.Interfaces.IUserService.DeleteUser(MongoDB.Bson.ObjectId)
id: DeleteUser(MongoDB.Bson.ObjectId)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: DeleteUser(ObjectId)
nameWithType: IUserService.DeleteUser(ObjectId)
fullName: adas_core.Authentication.Interfaces.IUserService.DeleteUser(MongoDB.Bson.ObjectId)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: DeleteUser
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 140
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Asynchronously deletes a user identified by the specified identifier.
example: []
syntax:
content: Task<bool> DeleteUser(ObjectId id)
parameters:
- id: id
type: MongoDB.Bson.ObjectId
description: The unique identifier of the user to delete.
return:
type: System.Threading.Tasks.Task{System.Boolean}
description: A task that represents the asynchronous operation, containing a value indicating whether the user was successfully deleted.
content.vb: Function DeleteUser(id As ObjectId) As Task(Of Boolean)
overload: adas_core.Authentication.Interfaces.IUserService.DeleteUser*
- uid: adas_core.Authentication.Interfaces.IUserService.GetPaginatedUsers(adas_core.Domain.Models.Filter.PaginationFilter)
commentId: M:adas_core.Authentication.Interfaces.IUserService.GetPaginatedUsers(adas_core.Domain.Models.Filter.PaginationFilter)
id: GetPaginatedUsers(adas_core.Domain.Models.Filter.PaginationFilter)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: GetPaginatedUsers(PaginationFilter)
nameWithType: IUserService.GetPaginatedUsers(PaginationFilter)
fullName: adas_core.Authentication.Interfaces.IUserService.GetPaginatedUsers(adas_core.Domain.Models.Filter.PaginationFilter)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: GetPaginatedUsers
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 146
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Retrieves a paginated list of users based on the provided pagination filter configuration.
example: []
syntax:
content: Task<PaginationResponse<User>> GetPaginatedUsers(PaginationFilter config)
parameters:
- id: config
type: adas_core.Domain.Models.Filter.PaginationFilter
description: The pagination filter that defines paging parameters such as page number and page size.
return:
type: System.Threading.Tasks.Task{adas_core.Domain.Models.Responses.PaginationResponse{adas_core.Domain.Models.MongoModels.User}}
description: A task that represents the asynchronous operation, containing the paginated response of <xref href="adas_core.Domain.Models.MongoModels.User" data-throw-if-not-resolved="false"></xref> entries.
content.vb: Function GetPaginatedUsers(config As PaginationFilter) As Task(Of PaginationResponse(Of User))
overload: adas_core.Authentication.Interfaces.IUserService.GetPaginatedUsers*
- uid: adas_core.Authentication.Interfaces.IUserService.CreateNewAuthority(adas_core.Domain.Models.MongoModels.Authorization)
commentId: M:adas_core.Authentication.Interfaces.IUserService.CreateNewAuthority(adas_core.Domain.Models.MongoModels.Authorization)
id: CreateNewAuthority(adas_core.Domain.Models.MongoModels.Authorization)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: CreateNewAuthority(Authorization)
nameWithType: IUserService.CreateNewAuthority(Authorization)
fullName: adas_core.Authentication.Interfaces.IUserService.CreateNewAuthority(adas_core.Domain.Models.MongoModels.Authorization)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: CreateNewAuthority
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 152
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Asynchronously creates a new authority based on the provided authorization data.
example: []
syntax:
content: Task<Authorization> CreateNewAuthority(Authorization auth)
parameters:
- id: auth
type: adas_core.Domain.Models.MongoModels.Authorization
description: The authorization information used to create the new authority.
return:
type: System.Threading.Tasks.Task{adas_core.Domain.Models.MongoModels.Authorization}
description: A task that represents the asynchronous operation. The task result contains the created <xref href="adas_core.Domain.Models.MongoModels.Authorization" data-throw-if-not-resolved="false"></xref>.
content.vb: Function CreateNewAuthority(auth As Authorization) As Task(Of Authorization)
overload: adas_core.Authentication.Interfaces.IUserService.CreateNewAuthority*
- uid: adas_core.Authentication.Interfaces.IUserService.DeleteAuthority(System.String)
commentId: M:adas_core.Authentication.Interfaces.IUserService.DeleteAuthority(System.String)
id: DeleteAuthority(System.String)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: DeleteAuthority(string)
nameWithType: IUserService.DeleteAuthority(string)
fullName: adas_core.Authentication.Interfaces.IUserService.DeleteAuthority(string)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: DeleteAuthority
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 158
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Asynchronously deletes an authority identified by the specified identifier.
example: []
syntax:
content: Task<bool> DeleteAuthority(string id)
parameters:
- id: id
type: System.String
description: The unique identifier of the authority to delete.
return:
type: System.Threading.Tasks.Task{System.Boolean}
description: A task that represents the asynchronous delete operation. The task result contains a boolean indicating whether the authority was successfully deleted.
content.vb: Function DeleteAuthority(id As String) As Task(Of Boolean)
overload: adas_core.Authentication.Interfaces.IUserService.DeleteAuthority*
nameWithType.vb: IUserService.DeleteAuthority(String)
fullName.vb: adas_core.Authentication.Interfaces.IUserService.DeleteAuthority(String)
name.vb: DeleteAuthority(String)
- uid: adas_core.Authentication.Interfaces.IUserService.UpdateAuthority(adas_core.Domain.Models.MongoModels.Authorization)
commentId: M:adas_core.Authentication.Interfaces.IUserService.UpdateAuthority(adas_core.Domain.Models.MongoModels.Authorization)
id: UpdateAuthority(adas_core.Domain.Models.MongoModels.Authorization)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: UpdateAuthority(Authorization)
nameWithType: IUserService.UpdateAuthority(Authorization)
fullName: adas_core.Authentication.Interfaces.IUserService.UpdateAuthority(adas_core.Domain.Models.MongoModels.Authorization)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: UpdateAuthority
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 164
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Updates the authority information based on the provided authorization data.
example: []
syntax:
content: Task<bool> UpdateAuthority(Authorization authorization)
parameters:
- id: authorization
type: adas_core.Domain.Models.MongoModels.Authorization
description: The authorization entity containing the authority details to be updated.
return:
type: System.Threading.Tasks.Task{System.Boolean}
description: A task that represents the asynchronous operation. The task result is <code>true</code> if the update was successful; otherwise, <code>false</code>.
content.vb: Function UpdateAuthority(authorization As Authorization) As Task(Of Boolean)
overload: adas_core.Authentication.Interfaces.IUserService.UpdateAuthority*
- uid: adas_core.Authentication.Interfaces.IUserService.LoginWithGivenAccessToken(System.String)
commentId: M:adas_core.Authentication.Interfaces.IUserService.LoginWithGivenAccessToken(System.String)
id: LoginWithGivenAccessToken(System.String)
parent: adas_core.Authentication.Interfaces.IUserService
langs:
- csharp
- vb
name: LoginWithGivenAccessToken(string)
nameWithType: IUserService.LoginWithGivenAccessToken(string)
fullName: adas_core.Authentication.Interfaces.IUserService.LoginWithGivenAccessToken(string)
type: Method
source:
remote:
path: adas-core.Authentication/Interfaces/IUserService.cs
branch: document/release/1.0.1
repo: https://git.teralevel.io/adas/adas-core.git
id: LoginWithGivenAccessToken
path: ../../adas-core.Authentication/Interfaces/IUserService.cs
startLine: 170
assemblies:
- adas-core.Authentication
namespace: adas_core.Authentication.Interfaces
summary: Authenticates the user using the provided access token and returns the resulting token information.
example: []
syntax:
content: Task<TokenResult> LoginWithGivenAccessToken(string token)
parameters:
- id: token
type: System.String
description: The access token used to perform the login.
return:
type: System.Threading.Tasks.Task{adas_core.Authentication.Models.TokenResult}
description: A task that represents the asynchronous login operation, containing the token result.
content.vb: Function LoginWithGivenAccessToken(token As String) As Task(Of TokenResult)
overload: adas_core.Authentication.Interfaces.IUserService.LoginWithGivenAccessToken*
nameWithType.vb: IUserService.LoginWithGivenAccessToken(String)
fullName.vb: adas_core.Authentication.Interfaces.IUserService.LoginWithGivenAccessToken(String)
name.vb: LoginWithGivenAccessToken(String)
references:
- uid: adas_core.Authentication.Interfaces
commentId: N:adas_core.Authentication.Interfaces
href: adas_core.html
name: adas_core.Authentication.Interfaces
nameWithType: adas_core.Authentication.Interfaces
fullName: adas_core.Authentication.Interfaces
spec.csharp:
- uid: adas_core
name: adas_core
href: adas_core.html
- name: .
- uid: adas_core.Authentication
name: Authentication
href: adas_core.Authentication.html
- name: .
- uid: adas_core.Authentication.Interfaces
name: Interfaces
href: adas_core.Authentication.Interfaces.html
spec.vb:
- uid: adas_core
name: adas_core
href: adas_core.html
- name: .
- uid: adas_core.Authentication
name: Authentication
href: adas_core.Authentication.html
- name: .
- uid: adas_core.Authentication.Interfaces
name: Interfaces
href: adas_core.Authentication.Interfaces.html
- 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: 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: 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.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
commentId: N:System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System
nameWithType: System
fullName: System
- uid: adas_core.Authentication.Models.TokenResult
commentId: T:adas_core.Authentication.Models.TokenResult
parent: adas_core.Authentication.Models
href: adas_core.Authentication.Models.TokenResult.html
name: TokenResult
nameWithType: TokenResult
fullName: adas_core.Authentication.Models.TokenResult
- uid: adas_core.Authentication.Interfaces.IUserService.Login*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.Login
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_Login_System_String_System_String_
name: Login
nameWithType: IUserService.Login
fullName: adas_core.Authentication.Interfaces.IUserService.Login
- uid: System.Threading.Tasks.Task{adas_core.Authentication.Models.TokenResult}
commentId: T:System.Threading.Tasks.Task{adas_core.Authentication.Models.TokenResult}
parent: System.Threading.Tasks
definition: System.Threading.Tasks.Task`1
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
name: Task<TokenResult>
nameWithType: Task<TokenResult>
fullName: System.Threading.Tasks.Task<adas_core.Authentication.Models.TokenResult>
nameWithType.vb: Task(Of TokenResult)
fullName.vb: System.Threading.Tasks.Task(Of adas_core.Authentication.Models.TokenResult)
name.vb: Task(Of TokenResult)
spec.csharp:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: <
- uid: adas_core.Authentication.Models.TokenResult
name: TokenResult
href: adas_core.Authentication.Models.TokenResult.html
- name: '>'
spec.vb:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: (
- name: Of
- name: " "
- uid: adas_core.Authentication.Models.TokenResult
name: TokenResult
href: adas_core.Authentication.Models.TokenResult.html
- name: )
- uid: adas_core.Authentication.Models
commentId: N:adas_core.Authentication.Models
href: adas_core.html
name: adas_core.Authentication.Models
nameWithType: adas_core.Authentication.Models
fullName: adas_core.Authentication.Models
spec.csharp:
- uid: adas_core
name: adas_core
href: adas_core.html
- name: .
- uid: adas_core.Authentication
name: Authentication
href: adas_core.Authentication.html
- name: .
- uid: adas_core.Authentication.Models
name: Models
href: adas_core.Authentication.Models.html
spec.vb:
- uid: adas_core
name: adas_core
href: adas_core.html
- name: .
- uid: adas_core.Authentication
name: Authentication
href: adas_core.Authentication.html
- name: .
- uid: adas_core.Authentication.Models
name: Models
href: adas_core.Authentication.Models.html
- uid: System.Threading.Tasks.Task`1
commentId: T:System.Threading.Tasks.Task`1
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
name: Task<TResult>
nameWithType: Task<TResult>
fullName: System.Threading.Tasks.Task<TResult>
nameWithType.vb: Task(Of TResult)
fullName.vb: System.Threading.Tasks.Task(Of TResult)
name.vb: Task(Of TResult)
spec.csharp:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: <
- name: TResult
- name: '>'
spec.vb:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: (
- name: Of
- name: " "
- name: TResult
- name: )
- uid: System.Threading.Tasks
commentId: N:System.Threading.Tasks
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System.Threading.Tasks
nameWithType: System.Threading.Tasks
fullName: System.Threading.Tasks
spec.csharp:
- uid: System
name: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
- name: .
- uid: System.Threading
name: Threading
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading
- name: .
- uid: System.Threading.Tasks
name: Tasks
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks
spec.vb:
- uid: System
name: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
- name: .
- uid: System.Threading
name: Threading
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading
- name: .
- uid: System.Threading.Tasks
name: Tasks
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks
- uid: adas_core.Domain.Models.MongoModels.User
commentId: T:adas_core.Domain.Models.MongoModels.User
parent: adas_core.Domain.Models.MongoModels
href: adas_core.Domain.Models.MongoModels.User.html
name: User
nameWithType: User
fullName: adas_core.Domain.Models.MongoModels.User
- uid: adas_core.Authentication.Interfaces.IUserService.GetUser*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.GetUser
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_GetUser_System_String_System_String_
name: GetUser
nameWithType: IUserService.GetUser
fullName: adas_core.Authentication.Interfaces.IUserService.GetUser
- uid: System.Threading.Tasks.Task{adas_core.Domain.Models.MongoModels.User}
commentId: T:System.Threading.Tasks.Task{adas_core.Domain.Models.MongoModels.User}
parent: System.Threading.Tasks
definition: System.Threading.Tasks.Task`1
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
name: Task<User>
nameWithType: Task<User>
fullName: System.Threading.Tasks.Task<adas_core.Domain.Models.MongoModels.User>
nameWithType.vb: Task(Of User)
fullName.vb: System.Threading.Tasks.Task(Of adas_core.Domain.Models.MongoModels.User)
name.vb: Task(Of User)
spec.csharp:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: <
- uid: adas_core.Domain.Models.MongoModels.User
name: User
- name: '>'
spec.vb:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: (
- name: Of
- name: " "
- uid: adas_core.Domain.Models.MongoModels.User
name: User
- name: )
- uid: adas_core.Domain.Models.MongoModels
commentId: N:adas_core.Domain.Models.MongoModels
href: adas_core.html
name: adas_core.Domain.Models.MongoModels
nameWithType: adas_core.Domain.Models.MongoModels
fullName: adas_core.Domain.Models.MongoModels
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.Models
name: Models
href: adas_core.Domain.Models.html
- name: .
- uid: adas_core.Domain.Models.MongoModels
name: MongoModels
href: adas_core.Domain.Models.MongoModels.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.Models
name: Models
href: adas_core.Domain.Models.html
- name: .
- uid: adas_core.Domain.Models.MongoModels
name: MongoModels
href: adas_core.Domain.Models.MongoModels.html
- uid: adas_core.Authentication.Interfaces.IUserService.RefreshToken*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.RefreshToken
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_RefreshToken_System_String_
name: RefreshToken
nameWithType: IUserService.RefreshToken
fullName: adas_core.Authentication.Interfaces.IUserService.RefreshToken
- uid: adas_core.Authentication.Interfaces.IUserService.LoginWithAccessToken*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.LoginWithAccessToken
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_LoginWithAccessToken_System_String_
name: LoginWithAccessToken
nameWithType: IUserService.LoginWithAccessToken
fullName: adas_core.Authentication.Interfaces.IUserService.LoginWithAccessToken
- uid: Microsoft.IdentityModel.Tokens.SecurityToken
commentId: T:Microsoft.IdentityModel.Tokens.SecurityToken
parent: Microsoft.IdentityModel.Tokens
isExternal: true
href: https://learn.microsoft.com/dotnet/api/microsoft.identitymodel.tokens.securitytoken
name: SecurityToken
nameWithType: SecurityToken
fullName: Microsoft.IdentityModel.Tokens.SecurityToken
- uid: adas_core.Authentication.Interfaces.IUserService.ValidateToken*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.ValidateToken
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_ValidateToken_System_String_System_String_Microsoft_IdentityModel_Tokens_SecurityToken__
name: ValidateToken
nameWithType: IUserService.ValidateToken
fullName: adas_core.Authentication.Interfaces.IUserService.ValidateToken
- uid: Microsoft.IdentityModel.Tokens
commentId: N:Microsoft.IdentityModel.Tokens
isExternal: true
href: https://learn.microsoft.com/dotnet/api/microsoft
name: Microsoft.IdentityModel.Tokens
nameWithType: Microsoft.IdentityModel.Tokens
fullName: Microsoft.IdentityModel.Tokens
spec.csharp:
- uid: Microsoft
name: Microsoft
isExternal: true
href: https://learn.microsoft.com/dotnet/api/microsoft
- name: .
- uid: Microsoft.IdentityModel
name: IdentityModel
isExternal: true
href: https://learn.microsoft.com/dotnet/api/microsoft.identitymodel
- name: .
- uid: Microsoft.IdentityModel.Tokens
name: Tokens
isExternal: true
href: https://learn.microsoft.com/dotnet/api/microsoft.identitymodel.tokens
spec.vb:
- uid: Microsoft
name: Microsoft
isExternal: true
href: https://learn.microsoft.com/dotnet/api/microsoft
- name: .
- uid: Microsoft.IdentityModel
name: IdentityModel
isExternal: true
href: https://learn.microsoft.com/dotnet/api/microsoft.identitymodel
- name: .
- uid: Microsoft.IdentityModel.Tokens
name: Tokens
isExternal: true
href: https://learn.microsoft.com/dotnet/api/microsoft.identitymodel.tokens
- uid: adas_core.Authentication.Interfaces.IUserService.GetUserByToken*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.GetUserByToken
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_GetUserByToken_System_IdentityModel_Tokens_Jwt_JwtSecurityToken_
name: GetUserByToken
nameWithType: IUserService.GetUserByToken
fullName: adas_core.Authentication.Interfaces.IUserService.GetUserByToken
- 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: 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: adas_core.Authentication.Interfaces.IUserService.GetUserByCasTicket*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.GetUserByCasTicket
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_GetUserByCasTicket_System_String_System_String_
name: GetUserByCasTicket
nameWithType: IUserService.GetUserByCasTicket
fullName: adas_core.Authentication.Interfaces.IUserService.GetUserByCasTicket
- uid: adas_core.Authentication.Interfaces.IUserService.GenerateJwt*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.GenerateJwt
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_GenerateJwt_adas_core_Domain_Models_MongoModels_User_
name: GenerateJwt
nameWithType: IUserService.GenerateJwt
fullName: adas_core.Authentication.Interfaces.IUserService.GenerateJwt
- uid: adas_core.Authentication.Interfaces.IUserService.GetAll*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.GetAll
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_GetAll
name: GetAll
nameWithType: IUserService.GetAll
fullName: adas_core.Authentication.Interfaces.IUserService.GetAll
- uid: System.Threading.Tasks.Task{System.Collections.Generic.List{adas_core.Domain.Models.MongoModels.User}}
commentId: T:System.Threading.Tasks.Task{System.Collections.Generic.List{adas_core.Domain.Models.MongoModels.User}}
parent: System.Threading.Tasks
definition: System.Threading.Tasks.Task`1
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
name: Task<List<User>>
nameWithType: Task<List<User>>
fullName: System.Threading.Tasks.Task<System.Collections.Generic.List<adas_core.Domain.Models.MongoModels.User>>
nameWithType.vb: Task(Of List(Of User))
fullName.vb: System.Threading.Tasks.Task(Of System.Collections.Generic.List(Of adas_core.Domain.Models.MongoModels.User))
name.vb: Task(Of List(Of User))
spec.csharp:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: <
- uid: System.Collections.Generic.List`1
name: List
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1
- name: <
- uid: adas_core.Domain.Models.MongoModels.User
name: User
- name: '>'
- name: '>'
spec.vb:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: (
- name: Of
- name: " "
- uid: System.Collections.Generic.List`1
name: List
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1
- name: (
- name: Of
- name: " "
- uid: adas_core.Domain.Models.MongoModels.User
name: User
- name: )
- name: )
- uid: MongoDB.Bson.ObjectId
commentId: T:MongoDB.Bson.ObjectId
parent: MongoDB.Bson
isExternal: true
name: ObjectId
nameWithType: ObjectId
fullName: MongoDB.Bson.ObjectId
- uid: adas_core.Authentication.Interfaces.IUserService.GetUserById*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.GetUserById
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_GetUserById_MongoDB_Bson_ObjectId_
name: GetUserById
nameWithType: IUserService.GetUserById
fullName: adas_core.Authentication.Interfaces.IUserService.GetUserById
- uid: MongoDB.Bson
commentId: N:MongoDB.Bson
isExternal: true
name: MongoDB.Bson
nameWithType: MongoDB.Bson
fullName: MongoDB.Bson
spec.csharp:
- uid: MongoDB
name: MongoDB
isExternal: true
- name: .
- uid: MongoDB.Bson
name: Bson
isExternal: true
spec.vb:
- uid: MongoDB
name: MongoDB
isExternal: true
- name: .
- uid: MongoDB.Bson
name: Bson
isExternal: true
- uid: adas_core.Authentication.Interfaces.IUserService.GetUserByUserName*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.GetUserByUserName
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_GetUserByUserName_System_String_
name: GetUserByUserName
nameWithType: IUserService.GetUserByUserName
fullName: adas_core.Authentication.Interfaces.IUserService.GetUserByUserName
- uid: adas_core.Authentication.Interfaces.IUserService.GetUserByName*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.GetUserByName
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_GetUserByName_System_String_
name: GetUserByName
nameWithType: IUserService.GetUserByName
fullName: adas_core.Authentication.Interfaces.IUserService.GetUserByName
- uid: adas_core.Authentication.Interfaces.IUserService.CreateUser*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.CreateUser
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_CreateUser_adas_core_Domain_Models_MongoModels_User_
name: CreateUser
nameWithType: IUserService.CreateUser
fullName: adas_core.Authentication.Interfaces.IUserService.CreateUser
- uid: adas_core.Authentication.Interfaces.IUserService.CreateNewUserByRequest*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.CreateNewUserByRequest
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_CreateNewUserByRequest_adas_core_Domain_Models_MongoModels_User_
name: CreateNewUserByRequest
nameWithType: IUserService.CreateNewUserByRequest
fullName: adas_core.Authentication.Interfaces.IUserService.CreateNewUserByRequest
- uid: adas_core.Authentication.Interfaces.IUserService.CreateNewUserWithAuthorities*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.CreateNewUserWithAuthorities
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_CreateNewUserWithAuthorities_adas_core_Domain_Models_DTO_CreateUserWithAuthDto_
name: CreateNewUserWithAuthorities
nameWithType: IUserService.CreateNewUserWithAuthorities
fullName: adas_core.Authentication.Interfaces.IUserService.CreateNewUserWithAuthorities
- uid: adas_core.Domain.Models.DTO.CreateUserWithAuthDto
commentId: T:adas_core.Domain.Models.DTO.CreateUserWithAuthDto
parent: adas_core.Domain.Models.DTO
href: adas_core.Domain.Models.DTO.CreateUserWithAuthDto.html
name: CreateUserWithAuthDto
nameWithType: CreateUserWithAuthDto
fullName: adas_core.Domain.Models.DTO.CreateUserWithAuthDto
- uid: adas_core.Domain.Models.DTO
commentId: N:adas_core.Domain.Models.DTO
href: adas_core.html
name: adas_core.Domain.Models.DTO
nameWithType: adas_core.Domain.Models.DTO
fullName: adas_core.Domain.Models.DTO
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.Models
name: Models
href: adas_core.Domain.Models.html
- name: .
- uid: adas_core.Domain.Models.DTO
name: DTO
href: adas_core.Domain.Models.DTO.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.Models
name: Models
href: adas_core.Domain.Models.html
- name: .
- uid: adas_core.Domain.Models.DTO
name: DTO
href: adas_core.Domain.Models.DTO.html
- uid: adas_core.Authentication.Interfaces.IUserService.UpdateUserWithAuthorities*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.UpdateUserWithAuthorities
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_UpdateUserWithAuthorities_adas_core_Domain_Models_DTO_UpdateUserWithAuthDto_System_Boolean_
name: UpdateUserWithAuthorities
nameWithType: IUserService.UpdateUserWithAuthorities
fullName: adas_core.Authentication.Interfaces.IUserService.UpdateUserWithAuthorities
- uid: adas_core.Domain.Models.DTO.UpdateUserWithAuthDto
commentId: T:adas_core.Domain.Models.DTO.UpdateUserWithAuthDto
parent: adas_core.Domain.Models.DTO
href: adas_core.Domain.Models.DTO.UpdateUserWithAuthDto.html
name: UpdateUserWithAuthDto
nameWithType: UpdateUserWithAuthDto
fullName: adas_core.Domain.Models.DTO.UpdateUserWithAuthDto
- uid: System.Boolean
commentId: T:System.Boolean
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
name: bool
nameWithType: bool
fullName: bool
nameWithType.vb: Boolean
fullName.vb: Boolean
name.vb: Boolean
- uid: adas_core.Authentication.Interfaces.IUserService.UpdateUsersByRequest*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.UpdateUsersByRequest
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_UpdateUsersByRequest_adas_core_Domain_Models_MongoModels_User_System_Boolean_
name: UpdateUsersByRequest
nameWithType: IUserService.UpdateUsersByRequest
fullName: adas_core.Authentication.Interfaces.IUserService.UpdateUsersByRequest
- uid: adas_core.Authentication.Interfaces.IUserService.UpdateUserPassword*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.UpdateUserPassword
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_UpdateUserPassword_MongoDB_Bson_ObjectId_System_String_System_String_
name: UpdateUserPassword
nameWithType: IUserService.UpdateUserPassword
fullName: adas_core.Authentication.Interfaces.IUserService.UpdateUserPassword
- uid: System.Threading.Tasks.Task{System.Boolean}
commentId: T:System.Threading.Tasks.Task{System.Boolean}
parent: System.Threading.Tasks
definition: System.Threading.Tasks.Task`1
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
name: Task<bool>
nameWithType: Task<bool>
fullName: System.Threading.Tasks.Task<bool>
nameWithType.vb: Task(Of Boolean)
fullName.vb: System.Threading.Tasks.Task(Of Boolean)
name.vb: Task(Of Boolean)
spec.csharp:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: <
- uid: System.Boolean
name: bool
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: '>'
spec.vb:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: (
- name: Of
- name: " "
- uid: System.Boolean
name: Boolean
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
- name: )
- uid: adas_core.Authentication.Interfaces.IUserService.DeleteUser*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.DeleteUser
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_DeleteUser_MongoDB_Bson_ObjectId_
name: DeleteUser
nameWithType: IUserService.DeleteUser
fullName: adas_core.Authentication.Interfaces.IUserService.DeleteUser
- uid: adas_core.Authentication.Interfaces.IUserService.GetPaginatedUsers*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.GetPaginatedUsers
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_GetPaginatedUsers_adas_core_Domain_Models_Filter_PaginationFilter_
name: GetPaginatedUsers
nameWithType: IUserService.GetPaginatedUsers
fullName: adas_core.Authentication.Interfaces.IUserService.GetPaginatedUsers
- uid: adas_core.Domain.Models.Filter.PaginationFilter
commentId: T:adas_core.Domain.Models.Filter.PaginationFilter
parent: adas_core.Domain.Models.Filter
href: adas_core.Domain.Models.Filter.PaginationFilter.html
name: PaginationFilter
nameWithType: PaginationFilter
fullName: adas_core.Domain.Models.Filter.PaginationFilter
- uid: System.Threading.Tasks.Task{adas_core.Domain.Models.Responses.PaginationResponse{adas_core.Domain.Models.MongoModels.User}}
commentId: T:System.Threading.Tasks.Task{adas_core.Domain.Models.Responses.PaginationResponse{adas_core.Domain.Models.MongoModels.User}}
parent: System.Threading.Tasks
definition: System.Threading.Tasks.Task`1
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
name: Task<PaginationResponse<User>>
nameWithType: Task<PaginationResponse<User>>
fullName: System.Threading.Tasks.Task<adas_core.Domain.Models.Responses.PaginationResponse<adas_core.Domain.Models.MongoModels.User>>
nameWithType.vb: Task(Of PaginationResponse(Of User))
fullName.vb: System.Threading.Tasks.Task(Of adas_core.Domain.Models.Responses.PaginationResponse(Of adas_core.Domain.Models.MongoModels.User))
name.vb: Task(Of PaginationResponse(Of User))
spec.csharp:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: <
- uid: adas_core.Domain.Models.Responses.PaginationResponse`1
name: PaginationResponse
- name: <
- uid: adas_core.Domain.Models.MongoModels.User
name: User
- name: '>'
- name: '>'
spec.vb:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: (
- name: Of
- name: " "
- uid: adas_core.Domain.Models.Responses.PaginationResponse`1
name: PaginationResponse
- name: (
- name: Of
- name: " "
- uid: adas_core.Domain.Models.MongoModels.User
name: User
- name: )
- name: )
- uid: adas_core.Domain.Models.Filter
commentId: N:adas_core.Domain.Models.Filter
href: adas_core.html
name: adas_core.Domain.Models.Filter
nameWithType: adas_core.Domain.Models.Filter
fullName: adas_core.Domain.Models.Filter
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.Models
name: Models
href: adas_core.Domain.Models.html
- name: .
- uid: adas_core.Domain.Models.Filter
name: Filter
href: adas_core.Domain.Models.Filter.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.Models
name: Models
href: adas_core.Domain.Models.html
- name: .
- uid: adas_core.Domain.Models.Filter
name: Filter
href: adas_core.Domain.Models.Filter.html
- uid: adas_core.Domain.Models.MongoModels.Authorization
commentId: T:adas_core.Domain.Models.MongoModels.Authorization
parent: adas_core.Domain.Models.MongoModels
href: adas_core.Domain.Models.MongoModels.Authorization.html
name: Authorization
nameWithType: Authorization
fullName: adas_core.Domain.Models.MongoModels.Authorization
- uid: adas_core.Authentication.Interfaces.IUserService.CreateNewAuthority*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.CreateNewAuthority
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_CreateNewAuthority_adas_core_Domain_Models_MongoModels_Authorization_
name: CreateNewAuthority
nameWithType: IUserService.CreateNewAuthority
fullName: adas_core.Authentication.Interfaces.IUserService.CreateNewAuthority
- uid: System.Threading.Tasks.Task{adas_core.Domain.Models.MongoModels.Authorization}
commentId: T:System.Threading.Tasks.Task{adas_core.Domain.Models.MongoModels.Authorization}
parent: System.Threading.Tasks
definition: System.Threading.Tasks.Task`1
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
name: Task<Authorization>
nameWithType: Task<Authorization>
fullName: System.Threading.Tasks.Task<adas_core.Domain.Models.MongoModels.Authorization>
nameWithType.vb: Task(Of Authorization)
fullName.vb: System.Threading.Tasks.Task(Of adas_core.Domain.Models.MongoModels.Authorization)
name.vb: Task(Of Authorization)
spec.csharp:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: <
- uid: adas_core.Domain.Models.MongoModels.Authorization
name: Authorization
- name: '>'
spec.vb:
- uid: System.Threading.Tasks.Task`1
name: Task
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1
- name: (
- name: Of
- name: " "
- uid: adas_core.Domain.Models.MongoModels.Authorization
name: Authorization
- name: )
- uid: adas_core.Authentication.Interfaces.IUserService.DeleteAuthority*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.DeleteAuthority
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_DeleteAuthority_System_String_
name: DeleteAuthority
nameWithType: IUserService.DeleteAuthority
fullName: adas_core.Authentication.Interfaces.IUserService.DeleteAuthority
- uid: adas_core.Authentication.Interfaces.IUserService.UpdateAuthority*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.UpdateAuthority
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_UpdateAuthority_adas_core_Domain_Models_MongoModels_Authorization_
name: UpdateAuthority
nameWithType: IUserService.UpdateAuthority
fullName: adas_core.Authentication.Interfaces.IUserService.UpdateAuthority
- uid: adas_core.Authentication.Interfaces.IUserService.LoginWithGivenAccessToken*
commentId: Overload:adas_core.Authentication.Interfaces.IUserService.LoginWithGivenAccessToken
href: adas_core.Authentication.Interfaces.IUserService.html#adas_core_Authentication_Interfaces_IUserService_LoginWithGivenAccessToken_System_String_
name: LoginWithGivenAccessToken
nameWithType: IUserService.LoginWithGivenAccessToken
fullName: adas_core.Authentication.Interfaces.IUserService.LoginWithGivenAccessToken