# 程序包com.aliyun.oss.common.auth的分层结构

程序包分层结构:

- 所有程序包

## 类分层结构

- java.lang.Object
  - com.aliyun.oss.common.auth.BasicCredentials (implements com.aliyun.oss.common.auth.Credentials)
    - com.aliyun.oss.common.auth.InstanceProfileCredentials
  - com.aliyun.oss.common.auth.CredentialsProviderFactory
  - com.aliyun.oss.common.auth.CustomSessionCredentialsProvider (implements com.aliyun.oss.common.auth.CredentialsProvider)
  - com.aliyun.oss.common.auth.DefaultCredentialProvider (implements com.aliyun.oss.common.auth.CredentialsProvider)
  - com.aliyun.oss.common.auth.DefaultCredentials (implements com.aliyun.oss.common.auth.Credentials)
  - com.aliyun.oss.common.auth.EnvironmentVariableCredentialsProvider (implements com.aliyun.oss.common.auth.CredentialsProvider)
  - com.aliyun.oss.common.auth.HttpCredentialsFetcher (implements com.aliyun.oss.common.auth.CredentialsFetcher)
    - com.aliyun.oss.common.auth.CustomSessionCredentialsFetcher
    - com.aliyun.oss.common.auth.InstanceProfileCredentialsFetcher
  - com.aliyun.oss.common.auth.InstanceProfileCredentialsProvider (implements com.aliyun.oss.common.auth.CredentialsProvider)
  - com.aliyun.oss.common.auth.ProfileConfigFile
  - com.aliyun.oss.common.auth.ProfileConfigLoader
  - com.aliyun.oss.common.auth.ProfileCredentialsProvider (implements com.aliyun.oss.common.auth.CredentialsProvider)
  - com.aliyun.oss.common.auth.PublicKey
  - com.aliyun.oss.common.auth.ServiceSignature
    - com.aliyun.oss.common.auth.HmacSHA1Signature
    - com.aliyun.oss.common.auth.HmacSHA256Signature
  - com.aliyun.oss.common.auth.STSAssumeRoleSessionCredentialsProvider (implements com.aliyun.oss.common.auth.CredentialsProvider)
  - com.aliyun.oss.common.auth.STSKeyPairSessionCredentialsProvider (implements com.aliyun.oss.common.auth.CredentialsProvider)
  - com.aliyun.oss.common.auth.SystemPropertiesCredentialsProvider (implements com.aliyun.oss.common.auth.CredentialsProvider)
  - java.lang.Throwable (implements java.io.Serializable)
    - java.lang.Exception
      - java.lang.RuntimeException
        - com.aliyun.oss.common.auth.InvalidCredentialsException

## 接口分层结构

- com.aliyun.oss.common.auth.Credentials
- com.aliyun.oss.common.auth.CredentialsFetcher
- com.aliyun.oss.common.auth.CredentialsProvider
- com.aliyun.oss.common.auth.RequestSigner

Copyright © 2020. All Rights Reserved.