auth

package
v0.0.0-...-5f6f5d1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchAccessToken

func FetchAccessToken(clientID, clientSecret, refreshToken, endpoint string) string

Types

type Response

type Response struct {
	//nolint:tagliatelle
	AccessToken string `json:"access_token"`
	//nolint:tagliatelle
	RefreshToken string `json:"refresh_token"`
	//nolint:tagliatelle
	Type string `json:"token_type"`
	//nolint:tagliatelle
	Expires int    `json:"expires_in"`
	Scope   string `json:"scope"`
}

Jump to

Keyboard shortcuts

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