/// <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()); }
public override ImmutableCredentials GetCredentials() { if (_credentials == null) { return(null); } return(_credentials.Copy()); }
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()); }
public override ImmutableCredentials GetCredentials() { return(credentials.Copy()); }
public override ImmutableCredentials GetCredentials() { return(_credentials != null?_credentials.Copy() : null); }