OBJECT

Authenticate

# GraphQL Schema definition

1type Authenticate {
 
2# returns true if the provided JWT is valid for the given user and has not expired
3# yet
4#
5# Arguments
6# algorithm: [Not documented]
7# token: [Not documented]
8jwt(algorithm: JwtAlgorithm, token: String!): Boolean!
 
9# validates otp_code
10#
11# Arguments
12# code: OTP code sent to user
13# drift: Allowed TOTP time drift between client and server
14otp_code(code: String!, drift: Int): Boolean!
 
15# plain text password which will be matched against stored encrypted_password.
16# Returns true if password matches.
17#
18# Arguments
19# password: [Not documented]
20password(password: String!): Boolean!
 
21# returns true if the provided temporary_token is valid for the given user and has
22# not expired yet
23#
24# Arguments
25# token: [Not documented]
26temporary_token(token: String!): Boolean!
 
27}

# Required by