api

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const HttpTimeout = 10 //in seconds
View Source
const IdentityAdvAuthnUrl = "/Security/AdvanceAuthentication"
View Source
const IdentityApiVersion = "1.0"
View Source
const IdentityGetCredsForSecuredItemUrl = "/uprest/GetCredsForSecuredItem"
View Source
const IdentityListSecuredItemsUrl = "/uprest/GetSecuredItemsData"
View Source
const IdentityRootUrlSuffix = ".my.idaptive.app"
View Source
const IdentityStartAuthnUrl = "/Security/StartAuthentication"

Variables

This section is empty.

Functions

func AdvAuthnPollOOB

func AdvAuthnPollOOB(fqdn string, mechanismId string, sessionId string, cookie string) (string, string, error)

Adv Authn - Send OOB returns responseBody, cookie, error

func AdvAuthnStartOOB

func AdvAuthnStartOOB(fqdn string, mechanismId string, sessionId string, cookie string) (string, string, error)

Adv Authn - Send OOB returns responseBody, cookie, error

func AdvAuthnText

func AdvAuthnText(fqdn string, mechanismId string, sessionId string, cookie string, password string) (string, string, error)

Adv Authn - Text returns responseBody, cookie, error

func GetCredsForSecuredItem

func GetCredsForSecuredItem(fqdn string, cookie string, itemKey string) (string, error)

GetCredsForSecuredItem return list, error

func GetCredsForSecuredPassword added in v0.1.2

func GetCredsForSecuredPassword(fqdn string, cookie string, itemKey string, publicKey string) (string, error)

GetCredsForSecuredPassword return list, error

func GetSecuredItemsList

func GetSecuredItemsList(fqdn string, cookie string) (string, error)

GetSecuredItemsList return list, error

func StartAuthnWithFqdn

func StartAuthnWithFqdn(fqdn string, username string, previousAuth string) (string, string, error)

func StartAuthnWithTenantId

func StartAuthnWithTenantId(tenantId string, username string, previousAuth string) (string, string, error)

Start Authn Process https://identity-developer.cyberark.com/docs/starting-the-authentication-process

Types

type AuthInfo

type AuthInfo struct {
	TenantId string
	User     string
	Version  string
}

type UPInfo

type UPInfo struct {
	SessionId   string
	MechanismId string
	Action      string
	Answer      string
}

Jump to

Keyboard shortcuts

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