login

package
v0.1.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package login implements client login functionality shared between various clients

Package login implements client login functionality shared between various clients

Index

Constants

This section is empty.

Variables

View Source
var (
	HTMLAuthSuccessful = `` /* 2665-byte string literal not displayed */

)

Functions

func Login

func Login(ctx context.Context, opts ...Option) (token string, refreshToken string, err error)

Types

type Option

type Option func(opt *config)

func WithAudience

func WithAudience(aud []string) Option

func WithAuth0Connection

func WithAuth0Connection(conn string) Option

func WithClientID

func WithClientID(id string) Option

func WithCreateRefreshToken added in v0.1.9

func WithCreateRefreshToken() Option

func WithIdentity

func WithIdentity(identity string) Option

func WithIdentityProvider

func WithIdentityProvider(idp string) Option

func WithIncludeUpstreamToken

func WithIncludeUpstreamToken() Option

func WithInviteCode

func WithInviteCode(inviteCode string) Option

func WithIssuer

func WithIssuer(issuer string) Option

func WithOrgName

func WithOrgName(org string) Option

func WithSkipRegistration

func WithSkipRegistration() Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL