IO Wallet SDK
    Preparing search index...
    • Sends an access token request to the authorization server and returns the response

      Parameters

      Returns Promise<
          {
              access_token: string;
              authorization_details?: {
                  credential_configuration_id?: string;
                  credential_identifiers?: string[];
                  type: "openid_credential";
                  [key: string]: unknown;
              }[];
              expires_in?: number;
              refresh_token?: string;
              token_type: "Bearer"
              | "DPoP";
              [key: string]: unknown;
          },
      >

      Promise that resolves to the parsed access token response

      When the server returns a non-200 status code

      When the response cannot be parsed as a valid access token response

      When an unexpected error occurs during the request