You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Brian Baldner edited this page Apr 12, 2021
·
3 revisions
The auth class gets the tokens for the API requests. You always have to make a auth call before using any other classes.
Auth au = Auth.Login("username", "password", Region.NA);
Replace username and password with the username and password of the user.
The auth class contains the access token, entitlement token, cookies, and the player subject.
You can also use Webhook.GetAuthLocal() or Webhook.StartAndGetAuthLocal() to get authentication through the current running instance of Valorant.