blackbaud

package
v0.0.0-...-8dc1090 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AjaxRegex = regexp.MustCompile("<input name=\"__RequestVerificationToken\" type=\"hidden\" value=\"(.*)\" \\/>")

Functions

func BypassKMSIPage

func BypassKMSIPage(loginDetails map[string]interface{}, jar http.CookieJar) error

func GetAPIBaseURL

func GetAPIBaseURL(schoolSlug string) string

func GetAjaxPageURL

func GetAjaxPageURL(schoolSlug string) string

func GetAjaxToken

func GetAjaxToken(schoolSlug string) (string, error)

func GetAuth0LoginPage

func GetAuth0LoginPage(email string, state string, jar http.CookieJar) (map[string]interface{}, error)

func GetAuth0State

func GetAuth0State(jar http.CookieJar) (string, error)

func GetBaseDomain

func GetBaseDomain(schoolSlug string) string

func GetBlackbaudToken

func GetBlackbaudToken(jar http.CookieJar) (map[string]interface{}, error)

func MakeADLogin

func MakeADLogin(loginDetails map[string]interface{}, email string, password string, jar http.CookieJar) (map[string]interface{}, error)

func Request

func Request(schoolSlug string, requestType string, path string, urlParams url.Values, postData map[string]interface{}, jar http.CookieJar, ajaxToken string, bearerToken string) (interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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