olp-cpp-sdk
1.22.0
|
A response to a client or user introspect application operation. More...
#include <IntrospectAppResult.h>
Public Member Functions | |
const std::string & | GetClientId () const |
Gets the identifier for the client or application. More... | |
void | SetClientId (std::string client_id) |
Sets the identifier for the client or application. More... | |
const std::string & | GetName () const |
Gets the human-readable name of the client. More... | |
void | SetName (std::string name) |
Sets the name of the client. More... | |
const std::string & | GetDescription () const |
Gets the prose description of the client. More... | |
void | SetDescription (std::string description) |
Sets the prose description of the client. More... | |
const std::vector< std::string > & | GetRedirectUris () const |
Gets a list of redirect URIs. More... | |
void | SetReditectUris (std::vector< std::string > uris) |
Sets the redirect URIs. More... | |
const std::vector< std::string > & | GetAllowedScopes () const |
Gets a list of strings that represent scopes. More... | |
void | SetAllowedScopes (std::vector< std::string > scopes) |
Sets the list of the scopes. More... | |
const std::string & | GetTokenEndpointAuthMethod () const |
Gets the token endpoint authentication method. More... | |
void | SetTokenEndpointAuthMethod (std::string method) |
Sets the token endpoint authentication method. More... | |
const std::string & | GetTokenEndpointAuthMethodReason () const |
Gets the token endpoint authentication method reason. More... | |
void | SetTokenEndpointAuthMethodReason (std::string reason) |
Sets token endpoint authentication method reason. More... | |
bool | GetDobRequired () const |
Gets the DOB requirement. More... | |
void | SetDobRequired (bool is_required) |
Sets the DOB requirement. More... | |
int | GetTokenDuration () const |
Gets the default duration in seconds for the token issued to this application. More... | |
void | SetTokenDuration (int duration) |
Sets the default duration in seconds for the token. More... | |
const std::vector< std::string > & | GetReferrers () const |
Gets a list of referrer URLs to register or that were registered with the application. More... | |
void | SetReferrers (std::vector< std::string > urls) |
Sets the list of referrer URLs to register or that were registered with the application. More... | |
const std::string & | GetStatus () const |
Gets the status of the application. More... | |
void | SetStatus (std::string status) |
Sets the status of the application. More... | |
bool | GetAppCodeEnabled () const |
Checks if the application codes are enabled. More... | |
void | SetAppCodeEnabled (bool is_enabled) |
Sets the application codes if they are enabled. More... | |
time_t | GetCreatedTime () const |
Gets the timestamp (milliseconds since the Unix epoch) of when the application was created. More... | |
void | SetCreatedTime (time_t time) |
Sets the timestamp (milliseconds since the Unix epoch) of when the application was created. More... | |
const std::string & | GetRealm () const |
Gets the realm to which the application belongs. More... | |
void | SetRealm (std::string realm) |
Sets the realm to which the application belongs. More... | |
const std::string & | GetType () const |
Gets the application type. More... | |
void | SetType (std::string type) |
Sets the application type. More... | |
const std::vector< std::string > & | GetResponseTypes () const |
Gets a list of response types. More... | |
void | SetResponseTypes (std::vector< std::string > types) |
Sets the list of response types. More... | |
const std::string & | GetTier () const |
Gets a rate limit tier to configure the application. More... | |
void | SetTier (std::string tier) |
Sets the rate limit tier to configure the application. More... | |
const std::string & | GetHRN () const |
Gets the HRN of the application. More... | |
void | SetHrn (std::string hrn) |
Sets the HRN of the application. More... | |
A response to a client or user introspect application operation.
|
inline |
Gets a list of strings that represent scopes.
This field is required when the response types are non-empty.
|
inline |
Checks if the application codes are enabled.
|
inline |
Gets the identifier for the client or application.
|
inline |
Gets the timestamp (milliseconds since the Unix epoch) of when the application was created.
|
inline |
Gets the prose description of the client.
|
inline |
Gets the DOB requirement.
|
inline |
Gets the HRN of the application.
|
inline |
Gets the human-readable name of the client.
|
inline |
Gets the realm to which the application belongs.
|
inline |
Gets a list of redirect URIs.
Should be fully qualified HTTPS URIs without any fragments (HTTP is only supported for the localhost development). At least one redirect URI should be registered if the response types are non-empty.
|
inline |
Gets a list of referrer URLs to register or that were registered with the application.
When creating or updating: if the parameter is not present, the current value(s) are unchanged. If an empty list is specified, the current value(s) will be reset to the empty list.
A value can contain 1-255 characters. Wildcards are NOT allowed. The only valid characters are alphanumerics, '-', '_', '.', '/'. The protocol is NOT specified, that is, http://
or https://
is not allowed.
Examples: here.com
, localhost
, 127.0.0.1
, www.facebook.com/hello/world/
.
|
inline |
Gets a list of response types.
|
inline |
Gets the status of the application.
|
inline |
Gets a rate limit tier to configure the application.
|
inline |
Gets the default duration in seconds for the token issued to this application.
It has to be a non-zero value less than or equal to 72 hours (259200).
|
inline |
Gets the token endpoint authentication method.
|
inline |
Gets the token endpoint authentication method reason.
|
inline |
Gets the application type.
|
inline |
Sets the list of the scopes.
scopes | The list of strings that represent the scopes. |
|
inline |
Sets the application codes if they are enabled.
is_enabled | True if the application codes are enabled; false otherwise. |
|
inline |
Sets the identifier for the client or application.
client_id | The client identifier. |
|
inline |
Sets the timestamp (milliseconds since the Unix epoch) of when the application was created.
time | The epoch time when the application was created. |
|
inline |
Sets the prose description of the client.
description | The client description. |
|
inline |
Sets the DOB requirement.
is_required | If true, the user must provide their DOB; if false, the user can use self-service and specify "yes I am over age X". |
|
inline |
Sets the HRN of the application.
hrn | The application HRN. |
|
inline |
Sets the name of the client.
name | The client name. |
|
inline |
Sets the realm to which the application belongs.
realm | The application realm. |
|
inline |
Sets the redirect URIs.
uris | The list of the redirect URIs. |
|
inline |
Sets the list of referrer URLs to register or that were registered with the application.
urls | The llist of referrer URLs. |
|
inline |
Sets the list of response types.
types | The list of response types. |
|
inline |
Sets the status of the application.
status | The status of the application. |
|
inline |
Sets the rate limit tier to configure the application.
tier | The application rate limit tier. |
|
inline |
Sets the default duration in seconds for the token.
duration | The token duration in seconds. |
|
inline |
Sets the token endpoint authentication method.
method | The token endpoint authentication method. |
|
inline |
Sets token endpoint authentication method reason.
reason | The token endpoint authentication method reason. |
|
inline |
Sets the application type.
type | The application type. |