# google-auth 2.62.0 (Apache-2.0), harvested by tools/harvest_corpus.py
=== input
Verifies an ID Token issued by Google's OAuth 2.0 authorization server.

    Args:
        id_token (Union[str, bytes]): The encoded token.
        request (google.auth.transport.Request): The object used to make
            HTTP requests.
        audience (str): The audience that this token is intended for. This is
            typically your application's OAuth 2.0 client ID. If None then the
            audience is not verified.
        clock_skew_in_seconds (int): The clock skew used for `iat` and `exp`
            validation.

    Returns:
        Mapping[str, Any]: The decoded token.

    Raises:
        exceptions.GoogleAuthError: If the issuer is invalid.
        ValueError: If token verification fails
    
=== parse google
short_description: "Verifies an ID Token issued by Google's OAuth 2.0 authorization server."
blank_after_short_description: True
blank_after_long_description: False
style: google
- DocstringParam
  description: 'The encoded token.'
  kind: param
  key: 'param'
  arg_name: 'id_token'
  type_name: 'Union[str, bytes]'
  is_optional: False
- DocstringParam
  description: |
    The object used to make
    HTTP requests.
  kind: param
  key: 'param'
  arg_name: 'request'
  type_name: 'google.auth.transport.Request'
  is_optional: False
- DocstringParam
  description: |
    The audience that this token is intended for. This is
    typically your application's OAuth 2.0 client ID. If None then the
    audience is not verified.
  kind: param
  key: 'param'
  arg_name: 'audience'
  type_name: 'str'
  is_optional: False
- DocstringParam
  description: |
    The clock skew used for `iat` and `exp`
    validation.
  kind: param
  key: 'param'
  arg_name: 'clock_skew_in_seconds'
  type_name: 'int'
  is_optional: False
- DocstringReturns
  description: 'The decoded token.'
  kind: returns
  key: 'returns'
  type_name: 'Mapping[str, Any]'
  is_generator: False
- DocstringRaises
  description: 'If the issuer is invalid.'
  kind: raises
  key: 'raises'
  type_name: 'exceptions.GoogleAuthError'
- DocstringRaises
  description: 'If token verification fails'
  kind: raises
  key: 'raises'
  type_name: 'ValueError'
=== detect
google
=== compose google
Verifies an ID Token issued by Google's OAuth 2.0 authorization server.

Args:
    id_token (Union[str, bytes]): The encoded token.
    request (google.auth.transport.Request): The object used to make
        HTTP requests.
    audience (str): The audience that this token is intended for. This is
        typically your application's OAuth 2.0 client ID. If None then the
        audience is not verified.
    clock_skew_in_seconds (int): The clock skew used for `iat` and `exp`
        validation.

Returns:
    Mapping[str, Any]: The decoded token.

Raises:
    exceptions.GoogleAuthError: If the issuer is invalid.
    ValueError: If token verification fails
