Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

ncuhome/GeniusAuthoritarianRefreshTokenRpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated

rpc will be updated to mutual ssl mode and migrate into client

Usage

client, err := refreshTokenRpc.NewRpc("v.ncuos.com:443", &refreshTokenRpc.Config{
	AppCode: "xxx",
	AppSecret: "xxx"
})
if err!=nil {
	panic(err)
}

token, err := client.RefreshToken(context.Background(), "refresnTokenHere")
if err!=nil {
	panic(err)
}

fmt.Println(token)

About

GeniusAuth RefresnToken RPC Client

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages