nl_tokens: Authenticates a user with their Mojang credentials .
pl_tokens: function authenticate ( { username , password , clientToken , agent } ) { return fetch ( ` ${ YGGDRASIL_API } ` , { method : 'POST' , body : JSON . stringify ( { agent , username , password , clientToken , requestUser : true } ) , headers : { 'user-agent' : USER_AGENT , 'Content-Type' : 'application/json' , 'accept' : 'application/json' } } ) . then ( handleErrors ) . <mask> ( res => res . json ( ) ) }