C# Class Aliyun.Acs.Core.Auth.Credential

Show file Open project: aliyun/aliyun-openapi-net-sdk Class Usage Examples

Public Methods

Method Description
Credential ( ) : System
Credential ( String keyId, String secret ) : System
Credential ( String keyId, String secret, int expiredHours ) : System
IsExpired ( ) : bool

Private Methods

Method Description
SetExpiredDate ( int expiredHours ) : void

Method Details

Credential() public method

public Credential ( ) : System
return System

Credential() public method

public Credential ( String keyId, String secret ) : System
keyId String
secret String
return System

Credential() public method

public Credential ( String keyId, String secret, int expiredHours ) : System
keyId String
secret String
expiredHours int
return System

IsExpired() public method

public IsExpired ( ) : bool
return bool