tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Authority
ILoginAuthority.cs
Go to the documentation of this file.
1
using
System.Threading;
2
using
System.Threading.Tasks;
3
4
using
Tgstation.Server.Host.Authority.Core
;
5
using
Tgstation.Server.Host.GraphQL.Mutations.Payloads
;
6
7
namespace
Tgstation.Server.Host.Authority
8
{
12
public
interface
ILoginAuthority
:
IAuthority
13
{
19
ValueTask<AuthorityResponse<LoginResult>>
AttemptLogin
(CancellationToken cancellationToken);
20
26
ValueTask<AuthorityResponse<OAuthGatewayLoginResult>>
AttemptOAuthGatewayLogin
(CancellationToken cancellationToken);
27
}
28
}
Tgstation.Server.Host.Authority.Core.IAuthority
Business logic for interating with the server.
Definition
IAuthority.cs:9
Tgstation.Server.Host.Authority.ILoginAuthority
IAuthority for authenticating with the server.
Definition
ILoginAuthority.cs:13
Tgstation.Server.Host.Authority.ILoginAuthority.AttemptLogin
ValueTask< AuthorityResponse< LoginResult > > AttemptLogin(CancellationToken cancellationToken)
Attempt to login to the server with the current Basic or OAuth credentials.
Tgstation.Server.Host.Authority.ILoginAuthority.AttemptOAuthGatewayLogin
ValueTask< AuthorityResponse< OAuthGatewayLoginResult > > AttemptOAuthGatewayLogin(CancellationToken cancellationToken)
Attempt to login to an OAuth service with the current OAuth credentials.
Tgstation.Server.Host.Authority.Core
Definition
AuthorityBase.cs:14
Tgstation.Server.Host.Authority
Definition
AdministrationAuthority.cs:21
Tgstation.Server.Host.GraphQL.Mutations.Payloads
Definition
LoginResult.cs:7
Generated by
1.9.8