Skip to content

GraphQL schema

GraphQL schema exposed by the auth app

Types

type JsonWebToken {
  accessToken: String
  refreshToken: String
  errors: [String]
}

type AccessToken {
  accessToken: String
  errors: [String]
}

Queries

getJWT(username: String!, password: String!): JsonWebToken
refreshJWT: AccessToken

Directives

directive @policy on FIELD_DEFINITION
directive @access_token_required on FIELD_DEFINITION
directive @fresh_token_required on FIELD_DEFINITION

Last update: 2021-02-18