RHAPI_HTTPAuthorizationCredentials
Summary
Members | Descriptions |
---|---|
struct FRHAPI_HTTPAuthorizationCredentials | The HTTP authorization credentials in the result of using `HTTPBearer` or `HTTPDigest` in a dependency. The HTTP authorization header value is split by the first space. The first part is the `scheme`, the second part is the `credentials`. For example, in an HTTP Bearer token scheme, the client will send a header like: ``` Authorization: Bearer deadbeef12346 ``` In this case: * `scheme` will have the value `“Bearer”` * `credentials` will have the value `“deadbeef12346”`. |
struct FRHAPI_HTTPAuthorizationCredentials
The HTTP authorization credentials in the result of using `HTTPBearer` or `HTTPDigest` in a dependency. The HTTP authorization header value is split by the first space. The first part is the `scheme`, the second part is the `credentials`. For example, in an HTTP Bearer token scheme, the client will send a header like: ``` Authorization: Bearer deadbeef12346 ``` In this case: * `scheme` will have the value `“Bearer”` * `credentials` will have the value `“deadbeef12346”`.
Summary
Members | Descriptions |
---|---|
public FString Scheme | |
public FString Credentials | |
public virtual bool FromJson (const TSharedPtr< FJsonValue > & JsonValue) | Fills this object with data from the passed in JSON. |
public virtual void WriteJson (TSharedRef< TJsonWriter<>> & Writer) const | Writes the data from this object into the specified JSON Writer stream. |
public inline FString & GetScheme () | Gets the value of Scheme. |
public inline const FString & GetScheme () const | Gets the value of Scheme. |
public inline void SetScheme (FString NewValue) | Sets the value of Scheme. |
public inline FString & GetCredentials () | Gets the value of Credentials. |
public inline const FString & GetCredentials () const | Gets the value of Credentials. |
public inline void SetCredentials (FString NewValue) | Sets the value of Credentials. |
Members
public FString
Scheme
#### `public FString `[`Credentials`](#structFRHAPI__HTTPAuthorizationCredentials_1a748e9137cea3582ed7632f8de3c7bcd5)
#### `public virtual bool `[`FromJson`](#structFRHAPI__HTTPAuthorizationCredentials_1a40eb8f69601b29d2626f411590c2d514)`(const TSharedPtr< FJsonValue > & JsonValue)`
Fills this object with data from the passed in JSON.
Parameters
JsonValue
Data from the API call.
Returns
true if parsing of the JSON data was successful.
#### `public virtual void `[`WriteJson`](#structFRHAPI__HTTPAuthorizationCredentials_1ad814e7f5c9b7c7505d59b18f54b99ece)`(TSharedRef< TJsonWriter<>> & Writer) const`
Writes the data from this object into the specified JSON Writer stream.
Parameters
Writer
JSON Writer stream to push .
#### `public inline FString & `[`GetScheme`](#structFRHAPI__HTTPAuthorizationCredentials_1a8c832e41d86eee1857be7993008fa3df)`()`
Gets the value of Scheme.
#### `public inline const FString & `[`GetScheme`](#structFRHAPI__HTTPAuthorizationCredentials_1a2ef520df7b23c50027ae5f3ff1df99a0)`() const`
Gets the value of Scheme.
#### `public inline void `[`SetScheme`](#structFRHAPI__HTTPAuthorizationCredentials_1a43bfb08250e1a4ecb08b1646838c878f)`(FString NewValue)`
Sets the value of Scheme.
#### `public inline FString & `[`GetCredentials`](#structFRHAPI__HTTPAuthorizationCredentials_1a725ad2d9e76604f96c85913795913e7e)`()`
Gets the value of Credentials.
#### `public inline const FString & `[`GetCredentials`](#structFRHAPI__HTTPAuthorizationCredentials_1ac795cbc746ac22fa346ad9ff628f80a6)`() const`
Gets the value of Credentials.
#### `public inline void `[`SetCredentials`](#structFRHAPI__HTTPAuthorizationCredentials_1adce62c37cb9006909642c84a056f9d10)`(FString NewValue)`
Sets the value of Credentials.