@Override
  public TokensAndUrlAuthData getResponseClass(String result) throws IOException {
    Matcher matcher = AUTH_TOKEN_PATTERN.matcher(result);
    if (!matcher.matches()) {
      throw new IllegalArgumentException(result + " didn't match expected regex: "
          + AUTH_TOKEN_PATTERN.pattern());
    }

    return new TokensAndUrlAuthData(
        matcher.group(1),
        null,
        getTokenUrl());
  }
Class that supplies Dezzer-specific OAuth2 info
extensions/auth/portability-auth-deezer/src/main/java/org/datatransferproject/auth/deezer/DeezerOAuthConfig.java