I can't find IdOAuth2Bearer.pas in this current version of INDY #619
|
I uninstalled the version that comes with my Embarcadero 12.1 and installed the Indy version that is available. But when I go to use OAuth2 authentication, I try to add the IdOAuth2Bearer.pas to use in the process. What do I do to use this unit? Does it no longer exist in this version? Or is there another way? |
Replies: 1 comment 2 replies
|
There has never been an If you want to use OAuth2 authentication with If you want to use OAuth2 authentication with HTTP/S, that is not implemented at this time, but I do have a work-in-progress |
There has never been an
IdOAuth2Bearer.pasunit in Indy. You were likely using a 3rd party unit.If you want to use OAuth2 authentication with
TIdPOP3,TIdSMTP,TIdIMAP4, orTIdDICT, then you need to use theTIdSASLOAuth...classes available in theIdSASLOAuth.pasunit:https://www.indyproject.org/2024/10/20/sasl-oauth-support-finally-added-to-master/
If you want to use OAuth2 authentication with HTTP/S, that is not implemented at this time, but I do have a work-in-progress
TIdBearerAuthenticationclass in anIdAuthenticationBearer.pasunit, if you want to try that.