-
Notifications
You must be signed in to change notification settings - Fork 4
Authenticating
Andrew Waters edited this page Apr 5, 2019
·
2 revisions
client := gomo.NewClient(
gomo.NewClientCredentials(
os.Getenv("CLIENT_ID"),
os.Getenv("CLIENT_SECRET"),
),
)
if err := client.Authenticate(); err != nil {
log.Fatal(err)
}client := gomo.NewClient(
gomo.NewImplicitCredentials(
os.Getenv("CLIENT_ID"),
),
)
if err := client.Authenticate(); err != nil {
log.Fatal(err)
}