LuciadCPillar 2023.1.04
luciad::UsernamePasswordCredentials Class Referencefinal

Represents the user credentials. More...

#include <luciad/loaders/ICredentialsProvider.h>

Inheritance diagram for luciad::UsernamePasswordCredentials:
luciad::Credentials

Public Member Functions

 UsernamePasswordCredentials (std::string user, std::string password)
 Constructs the user credentials. More...
 
const std::string & getPassword () const
 Returns the user password. More...
 
const std::string & getUser () const
 Returns the user name. More...
 
- Public Member Functions inherited from luciad::Credentials
virtual ~Credentials ()=default
 

Detailed Description

Represents the user credentials.

Since
2022.0

Constructor & Destructor Documentation

◆ UsernamePasswordCredentials()

luciad::UsernamePasswordCredentials::UsernamePasswordCredentials ( std::string  user,
std::string  password 
)

Constructs the user credentials.

Parameters
userthe user name.
passwordthe user password.

Member Function Documentation

◆ getPassword()

const std::string & luciad::UsernamePasswordCredentials::getPassword ( ) const

Returns the user password.

Returns
the user password.

◆ getUser()

const std::string & luciad::UsernamePasswordCredentials::getUser ( ) const

Returns the user name.

Returns
the user name.