AuthenticationManager
in package
This class is used to manage the authentication on the OpenStack platform.
It will provide an authenticated OpenStack object using the provided credential (AuthenticationCredential)
This class is registered as a singleton in the Athomos\Bennu\ServiceProvider
Table of Contents
- $authenticationCredential : AuthenticationCredential
- The object storing the credential to be used during authentication
- __construct() : mixed
- The service constructor
- getAuthenticatedOpenStack() : OpenStack
- This function will create the OpenStack object with all the parameters required to the authentication system
- getAuthenticationCredential() : AuthenticationCredential
- setAuthenticationCredential() : AuthenticationManager
Properties
$authenticationCredential
The object storing the credential to be used during authentication
private
AuthenticationCredential
$authenticationCredential
Methods
__construct()
The service constructor
public
__construct(AuthenticationCredential $authenticationCredential) : mixed
Parameters
- $authenticationCredential : AuthenticationCredential
Return values
mixed —getAuthenticatedOpenStack()
This function will create the OpenStack object with all the parameters required to the authentication system
public
getAuthenticatedOpenStack() : OpenStack
Return values
OpenStack —getAuthenticationCredential()
public
getAuthenticationCredential() : AuthenticationCredential
Return values
AuthenticationCredential —setAuthenticationCredential()
public
setAuthenticationCredential(AuthenticationCredential $authenticationCredential) : AuthenticationManager
Parameters
- $authenticationCredential : AuthenticationCredential