oauthhelper

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package oauthhelper implements helper functions for Centrify Vault software to get OAuth access tokens

Index

Constants

View Source
const (
	ErrExpiredPublicKey       = 2
	ErrGetResourceOwnerDenied = 3
)

common status return from Centrify Client

Variables

This section is empty.

Functions

func GetResourceOwnerToken

func GetResourceOwnerToken(appID string, scope string, user string, passwd string) (accessToken string, tokenType string,
	expiresIn uint32, refreshToken string, err error)

GetResourceOwnerToken sends a request to Centrify Client to get an OAuth token using "resource owner" grant request

Types

This section is empty.

Jump to

Keyboard shortcuts

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