# google-auth 2.62.0 (Apache-2.0), harvested by tools/harvest_corpus.py
=== input
Instantiates an external account credentials object.

        Args:
            audience (str): The STS audience field.
            subject_token_type (str): The subject token type based on the Oauth2.0 token exchange spec.
                Expected values include::

                    “urn:ietf:params:oauth:token-type:jwt”
                    “urn:ietf:params:oauth:token-type:id-token”
                    “urn:ietf:params:oauth:token-type:saml2”
                    “urn:ietf:params:aws:token-type:aws4_request”

            token_url (str): The STS endpoint URL.
            credential_source (Mapping): The credential source dictionary.
            service_account_impersonation_url (Optional[str]): The optional service account
                impersonation generateAccessToken URL.
            client_id (Optional[str]): The optional client ID.
            client_secret (Optional[str]): The optional client secret.
            token_info_url (str): The optional STS endpoint URL for token introspection.
            quota_project_id (Optional[str]): The optional quota project ID.
            scopes (Optional[Sequence[str]]): Optional scopes to request during the
                authorization grant.
            default_scopes (Optional[Sequence[str]]): Default scopes passed by a
                Google client library. Use 'scopes' for user-defined scopes.
            workforce_pool_user_project (Optona[str]): The optional workforce pool user
                project number when the credential corresponds to a workforce pool and not
                a workload identity pool. The underlying principal must still have
                serviceusage.services.use IAM permission to use the project for
                billing/quota.
            universe_domain (str): The universe domain. The default universe
                domain is googleapis.com.
            trust_boundary (str): String representation of trust boundary meta.
        Raises:
            google.auth.exceptions.RefreshError: If the generateAccessToken
                endpoint returned an error.
        
=== parse google
short_description: 'Instantiates an external account credentials object.'
blank_after_short_description: True
blank_after_long_description: False
style: google
- DocstringParam
  description: 'The STS audience field.'
  kind: param
  key: 'param'
  arg_name: 'audience'
  type_name: 'str'
  is_optional: False
- DocstringParam
  description: |
    The subject token type based on the Oauth2.0 token exchange spec.
    Expected values include::
    
        “urn:ietf:params:oauth:token-type:jwt”
        “urn:ietf:params:oauth:token-type:id-token”
        “urn:ietf:params:oauth:token-type:saml2”
        “urn:ietf:params:aws:token-type:aws4_request”
  kind: param
  key: 'param'
  arg_name: 'subject_token_type'
  type_name: 'str'
  is_optional: False
- DocstringParam
  description: 'The STS endpoint URL.'
  kind: param
  key: 'param'
  arg_name: 'token_url'
  type_name: 'str'
  is_optional: False
- DocstringParam
  description: 'The credential source dictionary.'
  kind: param
  key: 'param'
  arg_name: 'credential_source'
  type_name: 'Mapping'
  is_optional: False
- DocstringParam
  description: |
    The optional service account
    impersonation generateAccessToken URL.
  kind: param
  key: 'param'
  arg_name: 'service_account_impersonation_url'
  type_name: 'Optional[str]'
  is_optional: False
- DocstringParam
  description: 'The optional client ID.'
  kind: param
  key: 'param'
  arg_name: 'client_id'
  type_name: 'Optional[str]'
  is_optional: False
- DocstringParam
  description: 'The optional client secret.'
  kind: param
  key: 'param'
  arg_name: 'client_secret'
  type_name: 'Optional[str]'
  is_optional: False
- DocstringParam
  description: 'The optional STS endpoint URL for token introspection.'
  kind: param
  key: 'param'
  arg_name: 'token_info_url'
  type_name: 'str'
  is_optional: False
- DocstringParam
  description: 'The optional quota project ID.'
  kind: param
  key: 'param'
  arg_name: 'quota_project_id'
  type_name: 'Optional[str]'
  is_optional: False
- DocstringParam
  description: |
    Optional scopes to request during the
    authorization grant.
  kind: param
  key: 'param'
  arg_name: 'scopes'
  type_name: 'Optional[Sequence[str]]'
  is_optional: False
- DocstringParam
  description: |
    Default scopes passed by a
    Google client library. Use 'scopes' for user-defined scopes.
  kind: param
  key: 'param'
  arg_name: 'default_scopes'
  type_name: 'Optional[Sequence[str]]'
  is_optional: False
- DocstringParam
  description: |
    The optional workforce pool user
    project number when the credential corresponds to a workforce pool and not
    a workload identity pool. The underlying principal must still have
    serviceusage.services.use IAM permission to use the project for
    billing/quota.
  kind: param
  key: 'param'
  arg_name: 'workforce_pool_user_project'
  type_name: 'Optona[str]'
  is_optional: False
- DocstringParam
  description: |
    The universe domain. The default universe
    domain is googleapis.com.
  kind: param
  key: 'param'
  arg_name: 'universe_domain'
  type_name: 'str'
  is_optional: False
- DocstringParam
  description: 'String representation of trust boundary meta.'
  kind: param
  key: 'param'
  arg_name: 'trust_boundary'
  type_name: 'str'
  is_optional: False
- DocstringRaises
  description: |
    If the generateAccessToken
    endpoint returned an error.
  kind: raises
  key: 'raises'
  type_name: 'google.auth.exceptions.RefreshError'
=== detect
google
=== compose google
Instantiates an external account credentials object.

Args:
    audience (str): The STS audience field.
    subject_token_type (str): The subject token type based on the Oauth2.0 token exchange spec.
        Expected values include::

            “urn:ietf:params:oauth:token-type:jwt”
            “urn:ietf:params:oauth:token-type:id-token”
            “urn:ietf:params:oauth:token-type:saml2”
            “urn:ietf:params:aws:token-type:aws4_request”
    token_url (str): The STS endpoint URL.
    credential_source (Mapping): The credential source dictionary.
    service_account_impersonation_url (Optional[str]): The optional service account
        impersonation generateAccessToken URL.
    client_id (Optional[str]): The optional client ID.
    client_secret (Optional[str]): The optional client secret.
    token_info_url (str): The optional STS endpoint URL for token introspection.
    quota_project_id (Optional[str]): The optional quota project ID.
    scopes (Optional[Sequence[str]]): Optional scopes to request during the
        authorization grant.
    default_scopes (Optional[Sequence[str]]): Default scopes passed by a
        Google client library. Use 'scopes' for user-defined scopes.
    workforce_pool_user_project (Optona[str]): The optional workforce pool user
        project number when the credential corresponds to a workforce pool and not
        a workload identity pool. The underlying principal must still have
        serviceusage.services.use IAM permission to use the project for
        billing/quota.
    universe_domain (str): The universe domain. The default universe
        domain is googleapis.com.
    trust_boundary (str): String representation of trust boundary meta.

Raises:
    google.auth.exceptions.RefreshError: If the generateAccessToken
        endpoint returned an error.
