type TCEFOAuth2Helper = class(TObject)
This item has no description.
| Protected | FRedirectHost: ustring; |
| Protected | FRedirectPort: integer; |
| Protected | FAuthEndpoint: ustring; |
| Protected | FTokenEndpoint: ustring; |
| Protected | FClientID: ustring; |
| Protected | FClientSecret: ustring; |
| Protected | FAuthCode: ustring; |
| Protected | FError: ustring; |
| Protected | FErrorDescription: ustring; |
| Protected | FCodeVerifier: ustring; |
| Protected | FCodeChallenge: ustring; |
| Protected | FScope: ustring; |
| Protected | FAccessToken: ustring; |
| Protected | FIDToken: ustring; |
| Protected | FState: ustring; |
| Protected | FIncState: ustring; |
| Protected | FRefreshToken: ustring; |
| Protected | FTokenExpiry: integer; |
| Protected | FTokenType: ustring; |
| Protected | FLoginHint: ustring; |
| Protected | FChallengeMethod: TOAuthChallengeMethod; |
| Protected | function GetRedirectURI: ustring; virtual; |
| Protected | function GetAuthCodeURI: ustring; virtual; |
| Protected | function GetRefreshParams: ustring; virtual; |
| Protected | function GetTokeExchangeParams: ustring; virtual; |
| Protected | function GetValidState: boolean; virtual; |
| Protected | procedure GenerateRandomCodeChallenge; virtual; |
| Protected | procedure GenerateRandomState; virtual; |
| Protected | function GenerateRandomString(aLength : cardinal) : ustring; |
| Protected | procedure ParseQueryPair(const aPair : ustring); |
| Protected | function ReadJSONString(const aDictionary : ICefDictionaryValue; const aKey : ustring) : ustring; |
| Protected | function ReadJSONInteger(const aDictionary : ICefDictionaryValue; const aKey : ustring) : integer; |
| Protected | function CalculateSHA256Hash(const aString : ustring) : TCefCustomByteArray; |
| Public | constructor Create; |
| Public | procedure Initialize; virtual; |
| Public | function ParseTokenExchangeResponse(const aResponse : ustring) : boolean; virtual; |
| Public | function ParseRefreshTokenResponse(const aResponse : ustring) : boolean; virtual; |
| Public | function ParseCodeRequestResponse(const aURL : ustring) : boolean; virtual; |
| Protected | FRedirectHost: ustring; |
|
This item has no description. | |
| Protected | FRedirectPort: integer; |
|
This item has no description. | |
| Protected | FAuthEndpoint: ustring; |
|
This item has no description. | |
| Protected | FTokenEndpoint: ustring; |
|
This item has no description. | |
| Protected | FClientID: ustring; |
|
This item has no description. | |
| Protected | FClientSecret: ustring; |
|
This item has no description. | |
| Protected | FAuthCode: ustring; |
|
This item has no description. | |
| Protected | FError: ustring; |
|
This item has no description. | |
| Protected | FErrorDescription: ustring; |
|
This item has no description. | |
| Protected | FCodeVerifier: ustring; |
|
This item has no description. | |
| Protected | FCodeChallenge: ustring; |
|
This item has no description. | |
| Protected | FScope: ustring; |
|
This item has no description. | |
| Protected | FAccessToken: ustring; |
|
This item has no description. | |
| Protected | FIDToken: ustring; |
|
This item has no description. | |
| Protected | FState: ustring; |
|
This item has no description. | |
| Protected | FIncState: ustring; |
|
This item has no description. | |
| Protected | FRefreshToken: ustring; |
|
This item has no description. | |
| Protected | FTokenExpiry: integer; |
|
This item has no description. | |
| Protected | FTokenType: ustring; |
|
This item has no description. | |
| Protected | FLoginHint: ustring; |
|
This item has no description. | |
| Protected | FChallengeMethod: TOAuthChallengeMethod; |
|
This item has no description. | |
| Protected | function GetRedirectURI: ustring; virtual; |
|
This item has no description. | |
| Protected | function GetAuthCodeURI: ustring; virtual; |
|
This item has no description. | |
| Protected | function GetRefreshParams: ustring; virtual; |
|
This item has no description. | |
| Protected | function GetTokeExchangeParams: ustring; virtual; |
|
This item has no description. | |
| Protected | function GetValidState: boolean; virtual; |
|
This item has no description. | |
| Protected | procedure GenerateRandomCodeChallenge; virtual; |
|
This item has no description. | |
| Protected | procedure GenerateRandomState; virtual; |
|
This item has no description. | |
| Protected | function GenerateRandomString(aLength : cardinal) : ustring; |
|
This item has no description. | |
| Protected | procedure ParseQueryPair(const aPair : ustring); |
|
This item has no description. | |
| Protected | function ReadJSONString(const aDictionary : ICefDictionaryValue; const aKey : ustring) : ustring; |
|
This item has no description. | |
| Protected | function ReadJSONInteger(const aDictionary : ICefDictionaryValue; const aKey : ustring) : integer; |
|
This item has no description. | |
| Protected | function CalculateSHA256Hash(const aString : ustring) : TCefCustomByteArray; |
|
This item has no description. | |
| Public | constructor Create; |
|
This item has no description. | |
| Public | procedure Initialize; virtual; |
|
This item has no description. | |
| Public | function ParseTokenExchangeResponse(const aResponse : ustring) : boolean; virtual; |
|
This item has no description. | |
| Public | function ParseRefreshTokenResponse(const aResponse : ustring) : boolean; virtual; |
|
This item has no description. | |
| Public | function ParseCodeRequestResponse(const aURL : ustring) : boolean; virtual; |
|
This item has no description. | |
| Public | property AuthEndpoint : ustring read FAuthEndpoint write FAuthEndpoint; |
|
This item has no description. | |
| Public | property TokenEndpoint : ustring read FTokenEndpoint write FTokenEndpoint; |
|
This item has no description. | |
| Public | property ClientID : ustring read FClientID write FClientID; |
|
This item has no description. | |
| Public | property ClientSecret : ustring read FClientSecret write FClientSecret; |
|
This item has no description. | |
| Public | property RedirectHost : ustring read FRedirectHost write FRedirectHost; |
|
This item has no description. | |
| Public | property RedirectPort : integer read FRedirectPort write FRedirectPort; |
|
This item has no description. | |
| Public | property ChallengeMethod : TOAuthChallengeMethod read FChallengeMethod write FChallengeMethod; |
|
This item has no description. | |
| Public | property Scope : ustring read FScope write FScope; |
|
This item has no description. | |
| Public | property Error : ustring read FError; |
|
This item has no description. | |
| Public | property ErrorDescription : ustring read FErrorDescription; |
|
This item has no description. | |
| Public | property AccessToken : ustring read FAccessToken; |
|
This item has no description. | |
| Public | property IDToken : ustring read FIDToken; |
|
This item has no description. | |
| Public | property RefreshToken : ustring read FRefreshToken; |
|
This item has no description. | |
| Public | property TokenExpiry : integer read FTokenExpiry; |
|
This item has no description. | |
| Public | property TokenType : ustring read FTokenType; |
|
This item has no description. | |
| Public | property CodeVerifier : ustring read FCodeVerifier; |
|
This item has no description. | |
| Public | property CodeChallenge : ustring read FCodeChallenge; |
|
This item has no description. | |
| Public | property RedirectURI : ustring read GetRedirectURI; |
|
This item has no description. | |
| Public | property AuthCodeURI : ustring read GetAuthCodeURI; |
|
This item has no description. | |
| Public | property TokeExchangeParams : ustring read GetTokeExchangeParams; |
|
This item has no description. | |
| Public | property RefreshParams : ustring read GetRefreshParams; |
|
This item has no description. | |
| Public | property ValidState : boolean read GetValidState; |
|
This item has no description. | |