Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthProvider ¶ added in v0.1.17
type AuthProvider struct {
ID string
Kind AuthProviderKind
Title string
Subtitle string
Linked bool
Primary bool
ActionLabel string
ActionURL string
}
func AuthProvidersFromDomain ¶ added in v0.1.17
func AuthProvidersFromDomain( providers []domain.AuthProvider, oauthProviders []oauth.OAuthProvider, ) []AuthProvider
type AuthProviderFlow ¶ added in v0.1.19
type AuthProviderFlow string
const ( AuthProviderFlowLogin AuthProviderFlow = "login" AuthProviderFlowLink AuthProviderFlow = "link" AuthProviderFlowProof AuthProviderFlow = "proof" )
type AuthProviderKind ¶ added in v0.1.17
type AuthProviderKind string
const ( AuthProviderPassword AuthProviderKind = "password" AuthProviderGoogle AuthProviderKind = "google" )
type DeviceKind ¶
type DeviceKind string
const ( DeviceDesktop DeviceKind = "desktop" DevicePhone DeviceKind = "phone" DeviceTablet DeviceKind = "tablet" DeviceUnknown DeviceKind = "unknown" )
func DeviceKindFromUserAgent ¶
func DeviceKindFromUserAgent(ua string) DeviceKind
Click to show internal directories.
Click to hide internal directories.