AuthPayload
Represents information about an authentication payload.
type AuthPayload {
accessToken: String
refreshToken: String
expiresIn: Int
tokenType: String
user: User
}
Fields
AuthPayload.accessToken
● String
scalar
The access token.
AuthPayload.refreshToken
● String
scalar
The refresh token, which can be used to get a new access token once it expires.
AuthPayload.expiresIn
● Int
scalar
Represents in how many seconds the access token expires.
AuthPayload.tokenType
● String
scalar
Represents the tokens type.
AuthPayload.user
● User
object
Represents information about the user.
Returned By
login
mutation