74 virtual std::vector<Leosac::Auth::GroupPtr>
groups()
const = 0;
virtual std::vector< Leosac::Auth::GroupPtr > groups() const =0
Return the groups this mapper is aware of.
virtual void mapToUser(Cred::ICredentialPtr cred)=0
Must map the ICredential data to a User.
This is the header file for a generated source file, GitSHA1.cpp.
virtual ~IAuthSourceMapper()=default
std::shared_ptr< ICredential > ICredentialPtr
std::shared_ptr< IAccessProfile > IAccessProfilePtr
virtual IAccessProfilePtr buildProfile(Cred::ICredentialPtr auth_source)=0
Build an AccessProfile object given a Credential.
Base class to perform abstracted mapping operation over various AuthSource object.