tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
HeaderErrorTypes.cs
Go to the documentation of this file.
1using System;
2
4{
8 [Flags]
9 public enum HeaderErrorTypes
10 {
14 None = 0,
15
19 UserAgent = 1 << 0,
20
24 Accept = 1 << 1,
25
29 Api = 1 << 2,
30
34 AuthorizationInvalid = 1 << 3,
35
39 OAuthProvider = 1 << 4,
40
44 AuthorizationMissing = 1 << 5,
45 }
46}
HeaderErrorTypes
Types of individual ApiHeaders errors.
@ Api
The ApiHeaders.ApiVersionHeader header is missing or invalid.
@ UserAgent
The Microsoft.Net.Http.Headers.HeaderNames.UserAgent header is missing or invalid.
@ AuthorizationMissing
The Microsoft.Net.Http.Headers.HeaderNames.Authorization header is missing.
@ Accept
The Microsoft.Net.Http.Headers.HeaderNames.Accept header is missing or invalid.
@ OAuthProvider
The ApiHeaders.OAuthProviderHeader header is missing or invalid.
@ AuthorizationInvalid
The Microsoft.Net.Http.Headers.HeaderNames.Authorization header is invalid.