REST.Backend.ServiceComponents.TCustomBackendAuth.ExportLogin
Delphi
function ExportLogin(const APassword: string): string;
C++
System::UnicodeString __fastcall ExportLogin(const System::UnicodeString APassword);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | REST.Backend.ServiceComponents.pas REST.Backend.ServiceComponents.hpp |
REST.Backend.ServiceComponents | TCustomBackendAuth |
説明
ユーザーがログインした後、認証詳細(例、トークンおよび関連詳細)をエクスポートします。
APassword
が指定された後、文字列が暗号化されます。このオペレーションを実行するには、TCustomBackendAuth はログインしなければなりません。
その後、ImportLogin を使用して文字列をインポートし、復号化する必要があります。
メモ: 暗号化アルゴリズムは弱いため、認証の詳細 (トークン、トークンの有効期限など) の難読化に適しています。