Documentation ¶
Index ¶
- type SamlAssertionType
- type SamlTokenInfo
- type WsEndpointData
- type WsEndpointType
- type WsTrustEndpoint
- func (wte *WsTrustEndpoint) BuildTokenRequestMessageUsernamePassword(cloudAudienceURN string, username string, password string) (string, error)
- func (wte *WsTrustEndpoint) BuildTokenRequestMessageWIA(cloudAudienceURN string) (string, error)
- func (wte *WsTrustEndpoint) GetURL() string
- func (wte *WsTrustEndpoint) GetVersion() WsTrustEndpointVersion
- type WsTrustEndpointVersion
- type WsTrustMexDocument
- type WsTrustResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SamlAssertionType ¶
type SamlAssertionType int
const ( SamlV1 SamlAssertionType = iota SamlV2 )
type SamlTokenInfo ¶
type SamlTokenInfo struct {
// contains filtered or unexported fields
}
func CreateSamlTokenInfo ¶
func CreateSamlTokenInfo(assertionType SamlAssertionType, assertion string) *SamlTokenInfo
func (*SamlTokenInfo) GetAssertion ¶
func (sti *SamlTokenInfo) GetAssertion() string
func (*SamlTokenInfo) GetAssertionType ¶
func (sti *SamlTokenInfo) GetAssertionType() SamlAssertionType
type WsEndpointData ¶
type WsEndpointData struct { Version WsTrustEndpointVersion EndpointType WsEndpointType }
type WsEndpointType ¶
type WsEndpointType int
const ( WsEndpointTypeUsernamePassword WsEndpointType = iota WsEndpointTypeWindowsTransport )
type WsTrustEndpoint ¶
type WsTrustEndpoint struct {
// contains filtered or unexported fields
}
func CreateWsTrustEndpoint ¶
func CreateWsTrustEndpoint(endpointVersion WsTrustEndpointVersion, url string) WsTrustEndpoint
func (*WsTrustEndpoint) BuildTokenRequestMessageUsernamePassword ¶
func (*WsTrustEndpoint) BuildTokenRequestMessageWIA ¶
func (wte *WsTrustEndpoint) BuildTokenRequestMessageWIA(cloudAudienceURN string) (string, error)
func (*WsTrustEndpoint) GetURL ¶
func (wte *WsTrustEndpoint) GetURL() string
func (*WsTrustEndpoint) GetVersion ¶
func (wte *WsTrustEndpoint) GetVersion() WsTrustEndpointVersion
type WsTrustEndpointVersion ¶
type WsTrustEndpointVersion int
const ( Trust2005 WsTrustEndpointVersion = iota Trust13 )
type WsTrustMexDocument ¶
type WsTrustMexDocument struct {
// contains filtered or unexported fields
}
func CreateWsTrustMexDocument ¶
func CreateWsTrustMexDocument(responseData string) (*WsTrustMexDocument, error)
func (*WsTrustMexDocument) GetWsTrustUsernamePasswordEndpoint ¶
func (mexDoc *WsTrustMexDocument) GetWsTrustUsernamePasswordEndpoint() WsTrustEndpoint
type WsTrustResponse ¶
type WsTrustResponse struct {
// contains filtered or unexported fields
}
func CreateWsTrustResponse ¶
func CreateWsTrustResponse(responseData string) *WsTrustResponse
func (*WsTrustResponse) GetSAMLAssertion ¶
func (wsTrustResponse *WsTrustResponse) GetSAMLAssertion(endpoint *WsTrustEndpoint) (*SamlTokenInfo, error)
Click to show internal directories.
Click to hide internal directories.