Workspace 6.21.5
|
#include <Authentication/Common/authenticatedentity.h>
Public Member Functions | |
AuthenticatedEntity () | |
AuthenticatedEntity (AuthenticatedEntity &&)=delete | |
AuthenticatedEntity (const AuthenticatedEntity &)=delete | |
AuthenticatedEntity (const QString &authenticationProvider, const QString &authenticationProviderVersion, Credentials *authenticationCredentials=nullptr) | |
virtual | ~AuthenticatedEntity () |
const Credentials * | getAuthenticationCredentials () const |
const QString & | getAuthenticationProvider () const |
const QString & | getAuthenticationProviderVersion () const |
AuthenticatedEntity & | operator= (AuthenticatedEntity &&)=delete |
AuthenticatedEntity & | operator= (const AuthenticatedEntity &)=delete |
void | setAuthenticationCredentials (const QString &credentials) |
void | setAuthenticationProvider (const QString &provider) |
void | setAuthenticationProviderVersion (const QString &version) |
Represents an entity (person or otherwise) that has access to a remote resource. They have associated credentials that can be checked by an Authenticator.
Default constructor.
|
delete |
|
delete |
AuthenticatedEntity | ( | const QString & | authenticationProvider, |
const QString & | authenticationProviderVersion, | ||
Credentials * | authenticationCredentials = nullptr |
||
) |
Initialising constructor.
authenticationProvider | The authentication provider |
authenticationProviderVersion | The authentication provider version |
authenticationCredentials | Credentials to use when authenticating against the provided provider |
|
virtualdefault |
Destructor.
const Credentials * getAuthenticationCredentials | ( | ) | const |
Returns the authentication credentials associated with this entity.
const QString & getAuthenticationProvider | ( | ) | const |
Returns the authentication provider associated with this entity.
const QString & getAuthenticationProviderVersion | ( | ) | const |
Gets the authentication provider version associated with this entity.
|
delete |
|
delete |
void setAuthenticationCredentials | ( | const QString & | credentials | ) |
Sets the authentication credentials associated with this authenticated entity.
credentials | The credentials associated with this authenticated entity. |
void setAuthenticationProvider | ( | const QString & | provider | ) |
Sets the authentication provider associated with this entity.
provider | The authentication provider associated with this entity. |
void setAuthenticationProviderVersion | ( | const QString & | version | ) |
Sets the authentication provider version associated with this entity.
version | The version of the associated authentication provider. |