-
Notifications
You must be signed in to change notification settings - Fork 7
Auth
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.