#!/usr/bin/env python3 """ Main 3 """ from api.v1.auth.basic_auth import BasicAuth a = BasicAuth() print(a.decode_base64_authorization_header(None)) print(a.decode_base64_authorization_header(89)) print(a.decode_base64_authorization_header("Holberton School")) print(a.decode_base64_authorization_header("SG9sYmVydG9u")) print(a.decode_base64_authorization_header("SG9sYmVydG9uIFNjaG9vbA==")) print( a.decode_base64_authorization_header( a.extract_base64_authorization_header( "Basic SG9sYmVydG9uIFNjaG9vbA=="))) print( a.decode_base64_authorization_header( "Ym9iQGhidG4uaW86SDBsYmVydG9uU2Nob29sOTgh"))
#!/usr/bin/env python3 """ Main 3 """ from api.v1.auth.basic_auth import BasicAuth a = BasicAuth() print(a.decode_base64_authorization_header(None)) print(a.decode_base64_authorization_header(89)) print(a.decode_base64_authorization_header("Holberton School")) print(a.decode_base64_authorization_header("SG9sYmVydG9u")) print(a.decode_base64_authorization_header("SG9sYmVydG9uIFNjaG9vbA==")) print( a.decode_base64_authorization_header( a.extract_base64_authorization_header( "Basic SG9sYmVydG9uIFNjaG9vbA==")))