class documentation

class TokenFromOAuth1Error(bb.Union): (source)

View In Hierarchy

This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar auth.TokenFromOAuth1Error.invalid_oauth1_token_info: Part or all of the OAuth 1.0 access token info is invalid. :ivar auth.TokenFromOAuth1Error.app_id_mismatch: The authorized app does not match the app associated with the supplied access token.

Method is_app_id_mismatch Check if the union tag is ``app_id_mismatch``.
Method is_invalid_oauth1_token_info Check if the union tag is ``invalid_oauth1_token_info``.
Method is_other Check if the union tag is ``other``.
Class Variable app_id_mismatch Undocumented
Class Variable invalid_oauth1_token_info Undocumented
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_app_id_mismatch(self): (source)

Check if the union tag is ``app_id_mismatch``. :rtype: bool

def is_invalid_oauth1_token_info(self): (source)

Check if the union tag is ``invalid_oauth1_token_info``. :rtype: bool

def is_other(self): (source)

Check if the union tag is ``other``. :rtype: bool

app_id_mismatch = (source)

Undocumented

invalid_oauth1_token_info = (source)

Undocumented

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)

Undocumented

_catch_all: str = (source)

Undocumented