Log in
Model

RevokeCustomerToken

Magento\CustomerGraphQl\Model\Resolver\RevokeCustomerToken

What it does

This GraphQL resolver handles customer token revocation requests.

Developers use this class when implementing the GraphQL mutation that allows authenticated customers to invalidate their current access token, typically during logout operations.

It validates customer authentication before revoking the token through the CustomerTokenService.

Public Methods

  • resolve()