generateAuthUrl abstract method

Future<String?> generateAuthUrl()

After authorize() is called, to get the authorization header string, (ie, '{scheme} {token}') the client calls this method to generate the raw string.

The returning string formate must always be like

{scheme} {token}

  • Example 1: In case of JWT, Bearer {jwt_token}

  • Example 2: In case of Basic Auth, Basic {Base64UsernamePassword}

Implementation

Future<String?> generateAuthUrl();