Documentation
¶
Index ¶
Constants ¶
View Source
const ( DeviceDesktop = useragent.DeviceDesktop DevicePhone = useragent.DevicePhone DeviceTablet = useragent.DeviceTablet DeviceUnknown = useragent.DeviceUnknown )
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 = useragent.DeviceKind
func DeviceKindFromUserAgent ¶
func DeviceKindFromUserAgent(ua string) DeviceKind
Click to show internal directories.
Click to hide internal directories.