auth

package
v0.0.0-...-2b5c6f2 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New() (*Client, error)

func (*Client) ExchangeEncryptionKey

func (c *Client) ExchangeEncryptionKey(sessId, pubKey, nonce string) (*primary.ExchangeEncryptionKeyResponse, error)

func (*Client) GenerateLineAccount

func (c *Client) GenerateLineAccount(number, countryCode string) (string, error)

func (*Client) GetAcctVerifyMethod

func (c *Client) GetAcctVerifyMethod(sessId string, identifier *primary.AccountIdentifier) (*primary.GetAcctVerifMethodResponse, error)

func (*Client) GetCountryInfo

func (c *Client) GetCountryInfo(sessId string) (*primary.GetCountryInfoResponse, error)

func (*Client) GetPhoneVerifyMethod

func (c *Client) GetPhoneVerifyMethod(sessId string, device *primary.Device, num *primary.UserPhoneNumber) (*primary.GetPhoneVerifMethodResponse, error)

func (*Client) GetSecondAuthMethod

func (c *Client) GetSecondAuthMethod(sessId string) (*primary.GetSecondAuthMethodResponse, error)

func (*Client) GetSessionContentBeforeMigCompletion

func (c *Client) GetSessionContentBeforeMigCompletion(sessId string) (*primary.GetSessionContentBeforeMigCompletionResponse, error)

func (*Client) IssueWebAuthDetailsForSecondAuth

func (c *Client) IssueWebAuthDetailsForSecondAuth(sessId string) (*primary.IssueWebAuthDetailsForSecondAuthResponse, error)

func (*Client) MigratePrimaryUsingEapAccountV2

func (c *Client) MigratePrimaryUsingEapAccountV2(sessId string) (*primary.MigratePrimaryV2Response, error)

func (*Client) MigratePrimaryUsingPhoneV2

func (c *Client) MigratePrimaryUsingPhoneV2(sessId string) (*primary.MigratePrimaryV2Response, error)

func (*Client) OpenSession

func (c *Client) OpenSession() (string, error)

func (*Client) RegisterPrimaryUsingPhone

func (c *Client) RegisterPrimaryUsingPhone(sessionId string) (*primary.RegisterPrimaryResponse, error)

func (*Client) RegisterPrimaryUsingSocialLogin

func (c *Client) RegisterPrimaryUsingSocialLogin(sessId string) (*primary.RegisterPrimaryResponse, error)

func (*Client) SendPinCodeForPhone

func (c *Client) SendPinCodeForPhone(sessId string, device *primary.Device, num *primary.UserPhoneNumber) (*primary.SendPinCodeForPhoneResponse, error)

func (*Client) SetPassword

func (c *Client) SetPassword(sessId, ciphertext string) error

func (*Client) ValidateProfile

func (c *Client) ValidateProfile(sessId, name string) error

func (*Client) VerifyAccountUsingPwd

func (c *Client) VerifyAccountUsingPwd(sessId, ciphertext string, identifier *primary.AccountIdentifier) (*primary.VerifyAccountUsingPwdResponse, error)

func (*Client) VerifyPhone

func (c *Client) VerifyPhone(sessId string, device *primary.Device, num *primary.UserPhoneNumber, pin string) (*primary.VerifyPhoneResponse, error)

Jump to

Keyboard shortcuts

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