social

package
v1.3.89 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: GPL-3.0 Imports: 8 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 {
	// contains filtered or unexported fields
}

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(
	teamID string,
	clientID string,
	androidClientID string,
	keyID string,
	privateKey string,
) IUserData

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