C# Class AWSSAML.SetAWSSAMLCredentials

Inheritance: System.Management.Automation.PSCmdlet
Afficher le fichier Open project: awslabs/aws-saml-adfs-cmdlet-sample

Private Properties

Свойство Type Description
AskUserForAwsSamlRole string
AskUserForCredentials ICredentials
CloseHandle bool
DuplicateToken bool
GetPasswordViaConsole string
ImpersonateUser void
LogonUser bool
SetPowershellSamlProfile void
UnImpersonateUser void

Méthodes protégées

Méthode Description
ProcessRecord ( ) : void

Private Methods

Méthode Description
AskUserForAwsSamlRole ( string awsSamlRoles ) : string
AskUserForCredentials ( bool useCurrentCredentials ) : ICredentials
CloseHandle ( IntPtr handle ) : bool
DuplicateToken ( IntPtr ExistingTokenHandle, int SECURITY_IMPERSONATION_LEVEL, IntPtr &DuplicateTokenHandle ) : bool
GetPasswordViaConsole ( ) : string
ImpersonateUser ( string userName, string password, string domainName ) : void
LogonUser ( String lpszUsername, String lpszDomain, String lpszPassword, int dwLogonType, int dwLogonProvider, IntPtr &phToken ) : bool
SetPowershellSamlProfile ( ImmutableCredentials awsSessionCredentials ) : void
UnImpersonateUser ( ) : void

Method Details

ProcessRecord() protected méthode

protected ProcessRecord ( ) : void
Résultat void