verifyToken
Verify and decode an authentication token.
Validates the provided JWT token and returns the decoded token information including user identity, claims, and token metadata. Used for token validation and user session verification.
Possible errors:
- TOKEN_VERIFICATION_ERROR: Failed to verify token signature
verifyToken(
input: VerifyTokenInput!
): VerifyToken!
Arguments
verifyToken.input
● VerifyTokenInput!
non-null input
Token verification parameters containing the JWT token to validate.
Contains the authentication token that needs to be verified and decoded.
Type
VerifyToken
object
Decoded JWT token information after successful verification.
Contains all the claims and metadata from a verified authentication token, providing user identity, permissions, and token validity information.