nl_tokens: Checks if an access token is suitable for use with a Minecraft server .
pl_tokens: function isValid ( { accessToken , clientToken } ) { return fetch ( ` ${ YGGDRASIL_API } ` , { method : 'POST' , <mask> : JSON . stringify ( { accessToken , clientToken } ) , headers : { 'user-agent' : USER_AGENT , 'content-type' : 'application/json' } } ) . then ( handleErrors ) . then ( res => true ) . catch ( err => { if ( err . message === 'Invalid token' ) return false throw err } ) }