dddd
게시글
댓글
String url = "https://auth.worksmobile.com/oauth2/v2.0/revoke"; HttpClient httpClient = HttpClient.newHttpClient(); String requestBody = String.format("client_id=%s&client_secret=%s&token=%s&token_type_hint=%s", authConfig.getClientId(), authConfig.getClientSecret(), token, tokenTypeHint ); HttpRequest request = HttpRequest.newBuilder() .POST(HttpRequest.BodyPublishers.ofString(requestBody)) .header("Content-Type", "application/x-www-form-urlencoded
API 2024.10.29 읽음 173