Skip to content

RHAPI_HTTPAuthorizationCredentials

Summary

MembersDescriptions
struct FRHAPI_HTTPAuthorizationCredentialsThe 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

struct FRHAPI_HTTPAuthorizationCredentials
: public FRHAPI_Model

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

MembersDescriptions
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) constWrites 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() constGets 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() constGets the value of Credentials.
public inline void SetCredentials(FString NewValue)Sets the value of Credentials.

Members

public FString Scheme

public FString Credentials

public virtual bool FromJson(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(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()

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.