Home > @vsf-enterprise/commercetools-api > Auth

# Auth interface

Object with helpers for reading and creating access token cookies and accessing current token provider

Signature:

export interface Auth 

# Properties

Property Type Description
getTokenProvider? () => TokenProvider (Optional)
onTokenChange? (token: Token) => void (Optional)
onTokenRead? () => Token (Optional)
onTokenRemove? () => void (Optional)
setTokenProvider? (token: Token) => void (Optional)