Skip to content

Commit

Permalink
fix(auth): add additional authentication providers
Browse files Browse the repository at this point in the history
AGOL allows authentication through Github and Apple.

AFFECTS PACKAGES:
@esri/arcgis-rest-auth
  • Loading branch information
noahmulfinger committed Aug 10, 2020
1 parent 3d3174c commit 85f73b2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/arcgis-rest-auth/src/UserSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ interface IDeferred<T> {
reject: (v: any) => void;
}

export type AuthenticationProvider = "arcgis" | "facebook" | "google";
export type AuthenticationProvider =
| "arcgis"
| "facebook"
| "google"
| "github"
| "apple";

/**
* Represents a [credential](https://developers.arcgis.com/javascript/latest/api-reference/esri-identity-Credential.html)
Expand Down

0 comments on commit 85f73b2

Please sign in to comment.