How to Login

Login is required to remove any restrictions on certain endpoints.

SSO Authentication

import { login } from "call-of-duty-api";
login(ssoToken: string);
// or alternatively
import API from "call-of-duty-api";
API.login(ssoToken: string);

Last updated