Skip to main content

ExternalRefresh

Refresh user's access by custom plugin.

type ExternalRefresh {
token: String
refreshToken: String
csrfToken: String
user: User
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}

Fields

ExternalRefresh.token ● String scalar miscellaneous

The token, required to authenticate.

ExternalRefresh.refreshToken ● String scalar miscellaneous

The refresh token, required to re-generate external access token.

ExternalRefresh.csrfToken ● String scalar miscellaneous

CSRF token required to re-generate external access token.

ExternalRefresh.user ● User object users

A user instance.

ExternalRefresh.accountErrors ● [AccountError!]! deprecated non-null object users

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

ExternalRefresh.errors ● [AccountError!]! non-null object users

Returned By

externalRefresh mutation