magic_social_auth library

Classes

AppleDriver
Sign in with Apple through the native sheet on iOS.
AppleSignInResult
What an Apple sign-in concluded, plus the name Apple shared.
GoogleDriver
Google through the native SDK on iOS and Android.
MagicSocialAuthDowelProvider
Contributes social:* commands to the dowel dispatcher.
Nonce
The nonce of one native Apple sign-in.
Pkce
An RFC 7636 PKCE pair for one browser flow.
RedirectDriver
Any provider through the backend's browser flow.
SocialAuth
Static facade for social authentication.
SocialAuthButtons
Config-driven social authentication buttons.
SocialAuthManager
Manages social authentication drivers.
SocialAuthResult
What a social flow concluded, read from the backend's JSON answer.
SocialAuthServiceProvider
Service provider for social authentication.
SocialDriver
One provider's way into magic-starter-laravel's social login.
SocialFlow
The client half of magic-starter-laravel's social login contract.
SocialProviderDefaults
Default UI metadata for a social auth provider.
SocialProviderIcons
Built-in SVG icons and UI defaults for social auth providers.
WebFlowSlot
The one browser flow the app may have open.

Enums

SocialAuthMode
Social auth mode — determines button label text.
SocialIntent
Why a native ID token is posted to the token endpoint.
SocialPlatform
Supported platforms for social authentication.

Extensions

SocialPlatformExtension on SocialPlatform
Extension methods for SocialPlatform.

Exceptions / Errors

ProviderNotConfiguredException
Thrown when a provider is not configured or enabled.
SocialAuthCancelledException
Thrown when a sign-in ends without an answer: the user closed the sheet, or another flow took the browser.
SocialAuthException
Base exception for social authentication errors.
UnsupportedPlatformException
Thrown when a provider is not supported on the current platform.