← All types
Ob Object

EdgeAppHTTPAuthOutput

Read-only projection of HTTP route auth — the cleartext credentials never cross GraphQL.

Fields

Auth mode

Possible values (3)
NONE

Unauthenticated route — must be declared explicitly, never a default

BASIC

HTTP Basic with one or more 'user:pass' credentials

BEARER

Bearer token in Authorization header

Number of stored basic 'user:pass' entries (0 unless mode is BASIC)

Number of stored bearer tokens (0 unless mode is BEARER)

First 12 hex chars of SHA-256 over the joined basic credentials; nil when none

First 12 hex chars of SHA-256 over the joined bearer tokens; nil when none

Referenced by (1)
Exact type SDL
"""
Read-only projection of HTTP route auth — the cleartext credentials never cross GraphQL.
"""
type EdgeAppHTTPAuthOutput {
  """Auth mode"""
  mode: EdgeAppHTTPAuthMode!
  """Number of stored basic 'user:pass' entries (0 unless mode is BASIC)"""
  basicCredentialCount: Int!
  """Number of stored bearer tokens (0 unless mode is BEARER)"""
  bearerTokenCount: Int!
  """
  First 12 hex chars of SHA-256 over the joined basic credentials; nil when none
  """
  basicCredentialsFingerprint: String
  """
  First 12 hex chars of SHA-256 over the joined bearer tokens; nil when none
  """
  bearerTokensFingerprint: String
}