tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
GraphQL
Mutations
Payloads
OAuthGatewayLoginResult.cs
Go to the documentation of this file.
1
using
HotChocolate;
2
3
using
Tgstation.Server.Api.Models.Response
;
4
using
Tgstation.Server.Host.Models
;
5
6
namespace
Tgstation.Server.Host.GraphQL.Mutations.Payloads
7
{
11
public
sealed
class
OAuthGatewayLoginResult
:
ILegacyApiTransformable
<OAuthGatewayResponse>
12
{
16
public
required
string
AccessCode
{
get
; init; }
17
19
[GraphQLIgnore]
20
public
OAuthGatewayResponse
ToApi
()
21
=>
new
()
22
{
23
AccessCode
=
AccessCode
,
24
};
25
}
26
}
Tgstation.Server.Api.Models.Response.OAuthGatewayResponse
Success result for an OAuth gateway login attempt.
Definition
OAuthGatewayResponse.cs:7
Tgstation.Server.Host.GraphQL.Mutations.Payloads.OAuthGatewayLoginResult
Success result for an OAuth gateway login attempt.
Definition
OAuthGatewayLoginResult.cs:12
Tgstation.Server.Host.GraphQL.Mutations.Payloads.OAuthGatewayLoginResult.AccessCode
required string AccessCode
The user's access token for the requested OAuth service.
Definition
OAuthGatewayLoginResult.cs:16
Tgstation.Server.Host.GraphQL.Mutations.Payloads.OAuthGatewayLoginResult.ToApi
OAuthGatewayResponse ToApi()
Tgstation.Server.Host.Models.ILegacyApiTransformable
Represents a host-side model that may be transformed into a TApiModel .
Definition
ILegacyApiTransformable{TApiModel}.cs:8
Tgstation.Server.Api.Models.Response
Definition
AdministrationResponse.cs:6
Tgstation.Server.Host.GraphQL.Mutations.Payloads
Definition
LoginResult.cs:7
Tgstation.Server.Host.Models
Definition
ChatBot.cs:9
Generated by
1.9.8