oauth2.0 Delphi/정보나누기 OAuth2.0 적용기 프로젝트에서 OAuth2.0 적용을 위해 인디 컴포넌트 만으로 인증 프로세스를 구현해보았습니다.- OAuth2.0 공식 문서 참조.- 로그인과 같은 사용자인증을 위한 Redirect 등의 기능은 제외. 1. 토큰 발급받기procedure GetToken;var http: TIdHTTP; sResponse: string; objTokenInfo: TJSONObject;begin http := TIdHTTP.Create(nil); http.AllowCookies := True; http.HandleRedirects := True; http.HTTPOptions := [hoForceEncodeParams]; http.IOHandler := TIdSSLIOHandlerSocketOpenSSL.Create(htt.. 이전 1 다음