applesignin

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewService

func NewService(config tools.GetConfig, provider *secure.Provider) *oauth.OAuthProvider

Types

type Apple

type Apple struct {
	SecretCert []byte `bson:"client_cert"`
	ClientID   string `bson:"client_id"`
	ServiceID  string `bson:"service_id"`
	TeamID     string `bson:"team_id"`
	KeyID      string `bson:"key_id"`
}

func (*Apple) Authentificate

func (a *Apple) Authentificate(r *http.Request) (oauth.UserData, error)
func (a *Apple) GenerateLink(redirectURL string) string

func (*Apple) GetName

func (a *Apple) GetName() string

Jump to

Keyboard shortcuts

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