class documentation

class LoginMethod(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.

Method is_apple_oauth Check if the union tag is ``apple_oauth``.
Method is_first_party_token_exchange Check if the union tag is ``first_party_token_exchange``.
Method is_google_oauth Check if the union tag is ``google_oauth``.
Method is_other Check if the union tag is ``other``.
Method is_password Check if the union tag is ``password``.
Method is_qr_code Check if the union tag is ``qr_code``.
Method is_saml Check if the union tag is ``saml``.
Method is_two_factor_authentication Check if the union tag is ``two_factor_authentication``.
Method is_web_session Check if the union tag is ``web_session``.
Class Variable apple_oauth Undocumented
Class Variable first_party_token_exchange Undocumented
Class Variable google_oauth Undocumented
Class Variable other Undocumented
Class Variable password Undocumented
Class Variable qr_code Undocumented
Class Variable saml Undocumented
Class Variable two_factor_authentication Undocumented
Class Variable web_session Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_apple_oauth(self): (source)

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

def is_first_party_token_exchange(self): (source)

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

def is_google_oauth(self): (source)

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

def is_other(self): (source)

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

def is_password(self): (source)

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

def is_qr_code(self): (source)

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

def is_saml(self): (source)

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

def is_two_factor_authentication(self): (source)

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

def is_web_session(self): (source)

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

apple_oauth = (source)

Undocumented

first_party_token_exchange = (source)

Undocumented

google_oauth = (source)

Undocumented

Undocumented

password = (source)

Undocumented

Undocumented

Undocumented

two_factor_authentication = (source)

Undocumented

web_session = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented