OAuth

interface OAuth

The OAuth interface provides methods for authenticating a user via a native Google OneTap prompt or any of the supported third-party OAuth providers, provided you have configured them within your Stytch Dashboard.

Types

Link copied to clipboard
interface GoogleOneTap

Provides start, authenticate, and signOut methods for native Google One Tap authentication

Link copied to clipboard
interface ThirdParty

Provides a method for starting Third Party OAuth authentications

Functions

Link copied to clipboard
abstract suspend fun authenticate(parameters: OAuth.ThirdParty.AuthenticateParameters): OAuthAuthenticatedResponse
abstract fun authenticate(parameters: OAuth.ThirdParty.AuthenticateParameters, callback: (OAuthAuthenticatedResponse) -> Unit)

Authenticate a ThirdParty OAuth flow

Properties

Link copied to clipboard
abstract val amazon: OAuth.ThirdParty

The interface for authenticating a user with Amazon

Link copied to clipboard
abstract val apple: OAuth.ThirdParty

The interface for authenticating a user with Apple

Link copied to clipboard
abstract val bitbucket: OAuth.ThirdParty

The interface for authenticating a user with BitBucket

Link copied to clipboard
abstract val coinbase: OAuth.ThirdParty

The interface for authenticating a user with Coinbase

Link copied to clipboard
abstract val discord: OAuth.ThirdParty

The interface for authenticating a user with Discord

Link copied to clipboard
abstract val facebook: OAuth.ThirdParty

The interface for authenticating a user with Facebook

Link copied to clipboard
abstract val github: OAuth.ThirdParty

The interface for authenticating a user with GitHub

Link copied to clipboard
abstract val gitlab: OAuth.ThirdParty

The interface for authenticating a user with GitLab

Link copied to clipboard
abstract val google: OAuth.ThirdParty

The interface for authenticating a user with Google

Link copied to clipboard
abstract val googleOneTap: OAuth.GoogleOneTap

The interface for authenticating a user with Google OneTap

Link copied to clipboard
abstract val linkedin: OAuth.ThirdParty

The interface for authenticating a user with LinkedIn

Link copied to clipboard
abstract val microsoft: OAuth.ThirdParty

The interface for authenticating a user with Microsoft

Link copied to clipboard
abstract val slack: OAuth.ThirdParty

The interface for authenticating a user with Slack

Link copied to clipboard
abstract val twitch: OAuth.ThirdParty

The interface for authenticating a user with Twitch