Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
URL string
ClientID string
ClientSecret string
ServiceToken string
PrivateKeyPath string
Organization string
Account string
Scopes []string
Metascopes []string
AccessToken string
ApiVersion string
Timeout int
}
func (Config) AuthorizeJWTExchange ¶
func (Config) AuthorizeService ¶
* AuthorizeService : Login for the service to service IMS flow
func (Config) AuthorizeUser ¶
* AuthorizeUser uses the standard Oauth2 authorization code grant flow. The Oauth2 configuration is * taken from the Config struct.
func (Config) GetOrganizations ¶ added in v0.2.0
* GetProfile requests the user profile using an access token.
func (Config) GetProfile ¶
* GetProfile requests the user profile using an access token.
Click to show internal directories.
Click to hide internal directories.