Interface declaration for Authentication Providers
Methods
authenticate()
Called when _linkWith isn't passed authData. Handle your own authentication here.
deauthenticate()
(Optional) Called when service is unlinked. Handle any cleanup here.
getAuthType() → {String}
Unique identifier for this Auth Provider.
Returns:
- Type:
-
String
identifier
restoreAuthentication() → {Boolean}
Called when auth data is syncronized. Can be used to determine if authData is still valid
Returns:
- Type:
-
Boolean
Indicate if service should continue to be linked