fixed 'added 'refreshToken', converted to 'httpOnly', added SSL
fixed 'gql-types' generator
This commit is contained in:
parent
d179b8c7c8
commit
c190d368de
20 changed files with 314 additions and 179 deletions
|
|
@ -7,7 +7,7 @@ type Query {
|
|||
|
||||
type Mutation {
|
||||
login(input: LoginInput!): Session!
|
||||
signUp(input: RegisterInput!): Void
|
||||
signUp(input: SignUpInput!): Void
|
||||
}
|
||||
|
||||
input LoginInput {
|
||||
|
|
@ -15,7 +15,7 @@ input LoginInput {
|
|||
password: String!
|
||||
}
|
||||
|
||||
input RegisterInput {
|
||||
input SignUpInput {
|
||||
email: String!
|
||||
username: String!
|
||||
password: String!
|
||||
|
|
@ -23,7 +23,6 @@ input RegisterInput {
|
|||
|
||||
type Session {
|
||||
accessToken: String!
|
||||
refreshToken: RefreshToken!
|
||||
}
|
||||
|
||||
type RefreshToken {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue