saml

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseResponse

func ParseResponse(saml string) (samlResponse, error)

Types

type LoginData

type LoginData struct {
	Roles     []LoginRole
	Assertion string
}

func CreateLoginData

func CreateLoginData(response samlResponse, payload string) LoginData

func (LoginData) GetLoginRole

func (login LoginData) GetLoginRole(roleArn string) (LoginRole, error)

type LoginRole

type LoginRole struct {
	RoleArn      string
	PrincipalArn string
}

Jump to

Keyboard shortcuts

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