コード例 #1
0
 private DefaultProfile(String region, Credential creden)
 {
     iendpoints = new InternalEndpointsParser();
     credential = creden;
     this.regionId = region;
 }
コード例 #2
0
 public Credential GetCredential()
 {
     if (null == credential && null != icredential)
     {
         credential = icredential.Fresh();
     }
     return credential;
 }
コード例 #3
0
 public StsCredentialProvider(string accessKeyId, string accessKeySecret, string securityToken)
 {
     stsCredential = new Credential(accessKeyId, accessKeySecret, securityToken);
 }
コード例 #4
0
 public static DefaultProfile GetProfile(String regionId, String accessKeyId, String secret)
 {
     Credential creden = new Credential(accessKeyId, secret);
     profile = new DefaultProfile(regionId, creden);
     return profile;
 }
コード例 #5
0
 public LegacyCredentials(Credential legacyCrendential)
 {
     this.legacyCredential = legacyCrendential;
 }