Relocate the public trust center GraphQL surface, OAuth handlers, and SPA serving into the compliance portal API package and remove the legacy trust v1 server tree. Signed-off-by: Bryan Frimin <bryan@probo.com>
39 lines
808 B
GraphQL
39 lines
808 B
GraphQL
extend type Mutation {
|
|
sendMagicLink(input: SendMagicLinkInput!): SendMagicLinkPayload
|
|
@authentication(required: OPTIONAL)
|
|
verifyMagicLink(input: VerifyMagicLinkInput!): VerifyMagicLinkPayload
|
|
@authentication(required: OPTIONAL)
|
|
updateFullName(input: UpdateFullNameInput!): UpdateFullNamePayload
|
|
@authentication(required: PRESENT) @sessionOnly
|
|
signOut: SignOutPayload! @authentication(required: PRESENT) @sessionOnly
|
|
}
|
|
|
|
input SendMagicLinkInput {
|
|
email: EmailAddr!
|
|
continue: String
|
|
}
|
|
|
|
type SendMagicLinkPayload {
|
|
success: Boolean!
|
|
}
|
|
|
|
input VerifyMagicLinkInput {
|
|
token: String!
|
|
}
|
|
|
|
type VerifyMagicLinkPayload {
|
|
continue: String
|
|
}
|
|
|
|
input UpdateFullNameInput {
|
|
fullName: String!
|
|
}
|
|
|
|
type UpdateFullNamePayload {
|
|
success: Boolean!
|
|
}
|
|
|
|
type SignOutPayload {
|
|
success: Boolean!
|
|
}
|