Esempio n. 1
0
 /// <summary>
 /// Returns a copy of ImmutableCredentials corresponding to these credentials
 /// </summary>
 /// <returns></returns>
 public override ImmutableCredentials GetCredentials()
 {
     if (_credentials == null)
     {
         _credentials = new ImmutableCredentials(AccessKeyId, SecretAccessKey, SessionToken);
     }
     return(_credentials.Copy());
 }
Esempio n. 2
0
 public override ImmutableCredentials GetCredentials()
 {
     if (_credentials == null)
     {
         return(null);
     }
     return(_credentials.Copy());
 }
Esempio n. 3
0
 public override ImmutableCredentials GetCredentials()
 {
     //IL_001b: Unknown result type (might be due to invalid IL or missing references)
     //IL_0025: Expected O, but got Unknown
     if (_credentials == null)
     {
         _credentials = new ImmutableCredentials(AccessKeyId, SecretAccessKey, SessionToken);
     }
     return(_credentials.Copy());
 }
Esempio n. 4
0
 public override ImmutableCredentials GetCredentials()
 {
     return(credentials.Copy());
 }
Esempio n. 5
0
 public override ImmutableCredentials GetCredentials()
 {
     return(_credentials != null?_credentials.Copy() : null);
 }