line-account

module
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

README

line-account

GitHub

Installation

$ go get -u github.com/5h10n/line-account

example

Country code ex)

japan: JP, UnitedKingdom: GB, UnitedStates: US, Indonesia: ID etc...

package main

import (
	"fmt"
	"log"

	"github.com/5h10n/line-account/auth"
)

func main() {
	client, err := auth.New()
	if err != nil {
		log.Fatal(err)
	}
	authKey, err := client.GenerateLineAccount("xxxxxxxxxxx","JP")
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println("authToken:", authKey)
}

Service Detail

  • PrimaryAccountInitService
    • exchangeEncryptionKey
    • getAcctVerifMethod
    • getCountryInfo
    • getPhoneVerifMethod
    • getSecondAuthMethod
    • getSessionContentBeforeMigCompletion
    • getUserProfile
    • issueWebAuthDetailsForSecondAuth
    • issueWebAuthDetailsForAcctVerif
    • migratePrimaryUsingEapAccountV2
    • migratePrimaryUsingPhoneV2
    • openSession
    • registerPrimaryUsingPhone
    • registerPrimaryUsingSocialLogin
    • sendPinCodeForPhone
    • setPassword
    • validateProfile
    • verifyAccountUsingPwd
    • verifyPhone
    • verifySocialLogin

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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