Help us shape the future of Go! Take the 2026 Go Developer Survey

social

package
v1.3.250 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Apple added in v1.3.25

type Apple struct {
	TeamID          string
	ClientID        string
	AndroidClientID string
	KeyID           string
	PrivateKey      string
}

func (*Apple) GetUserData added in v1.3.25

func (a *Apple) GetUserData(ctx context.Context, token string, isAndroid bool) (*UserData, error)

type Facebook added in v0.8.39

type Facebook struct {
}

func (*Facebook) GetUserData added in v0.8.39

func (p *Facebook) GetUserData(_ context.Context, token string, _ bool) (*UserData, error)

func (*Facebook) SetIsAndroid added in v1.3.25

func (p *Facebook) SetIsAndroid(_ bool)

type Google

type Google struct {
}

func (*Google) GetUserData

func (p *Google) GetUserData(_ context.Context, token string, _ bool) (*UserData, error)

type IUserData

type IUserData interface {
	GetUserData(ctx context.Context, token string, isAndroid bool) (*UserData, error)
}

func NewAppleSocial added in v1.3.25

func NewAppleSocial(
	configService config.IConfig,
) (IUserData, error)

type UserData

type UserData struct {
	ID        string
	FirstName string
	LastName  string
	Avatar    string
	Email     string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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