credential static method

OAuthCredential credential(
  1. String accessToken
)

Create a new MicrosoftAuthCredential from a provided accessToken;

Implementation

static OAuthCredential credential(String accessToken) {
  return MicrosoftAuthCredential._credential(
    accessToken,
  );
}