com.aliyun.oss.common.auth

## 接口 Credentials

- 所有已知实现类:
    BasicCredentials, DefaultCredentials, InstanceProfileCredentials

      public interface Credentials

  Provides access to credentials used for accessing OSS, these credentials are used to securely sign requests to OSS.

- - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getAccessKeyId()` Returns the access key ID for this credentials.
    `String` | `getSecretAccessKey()` Returns the secret access key for this credentials.
    `String` | `getSecurityToken()` Returns the security token for this credentials.
    `boolean` | `useSecurityToken()` Determines whether to use security token for http requests.

- - ### 方法详细资料

    - #### getAccessKeyId

          String getAccessKeyId()

      Returns the access key ID for this credentials.

    - #### getSecretAccessKey

          String getSecretAccessKey()

      Returns the secret access key for this credentials.

    - #### getSecurityToken

          String getSecurityToken()

      Returns the security token for this credentials.

    - #### useSecurityToken

          boolean useSecurityToken()

      Determines whether to use security token for http requests.

Copyright © 2020. All Rights Reserved.