C# Class AWSSAML.AWSSAMLUtils

Show file Open project: awslabs/aws-saml-adfs-cmdlet-sample Class Usage Examples

Public Methods

Method Description
GetAwsSamlRoles ( string samlAssertion ) : string[]
GetSamlAssertion ( string identityProvider ) : string
GetSamlRoleCredentails ( string samlAssertion, string awsRole ) : SessionAWSCredentials

Private Methods

Method Description
getResult ( string url ) : HttpWebResponse

Method Details

GetAwsSamlRoles() public method

public GetAwsSamlRoles ( string samlAssertion ) : string[]
samlAssertion string
return string[]

GetSamlAssertion() public method

public GetSamlAssertion ( string identityProvider ) : string
identityProvider string
return string

GetSamlRoleCredentails() public method

public GetSamlRoleCredentails ( string samlAssertion, string awsRole ) : SessionAWSCredentials
samlAssertion string
awsRole string
return Amazon.Runtime.SessionAWSCredentials