OAuthProvider
interface
Interface that represents an OAuth provider. Implemented by other providers.
Properties
credential
</>Creates a new AuthCredential
.
credential: (token: string | null, secret: undefined | string) => AuthCredential;
getCustomParameters
</>Retrieve the current list of custom parameters.
getCustomParameters: () => Record<string, string>;
setCustomParameters
</>Sets the OAuth custom parameters to pass in an OAuth request for sign-in operations.
setCustomParameters: (customOAuthParameters: Record<string, string>) => AuthProvider;