Home > @firebase/auth > SAMLAuthProvider
SAMLAuthProvider class
An AuthProvider for SAML.
Signature:
export declare class SAMLAuthProvider extends FederatedAuthProvider
Extends: FederatedAuthProvider
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(providerId) | Constructor. The providerId must start with "saml." |
Methods
Method | Modifiers | Description |
---|---|---|
credentialFromError(error) | static |
Used to extract the underlying OAuthCredential from a AuthError which was thrown during a sign-in, link, or reauthenticate operation. |
credentialFromJSON(json) | static |
Creates an AuthCredential from a JSON string or a plain object. |
credentialFromResult(userCredential) | static |
Generates an AuthCredential from a UserCredential after a successful SAML flow completes. |