Implements methods to manage OpenSSO interactions
package | libopensso-php |
---|
__construct(string $env, boolean $ask_server, string $metadata_dir)
string
Which environment from metadata should this helper use
boolean
When true cookie name will be fetched from server using getCookieNameForToken
string
Directory to load metadata from
__get(string $name) : mixed
string
Attribute name
mixed
Attribute valueallAttributes(boolean $use_arrays) : Array
boolean
Whether to return values as arrays
Array
Associative array of attribute => valueattributeAsArray(string $name) : Array
string
Attribute name
Array
Values for attributeenforceAuthentication(string $url) : boolean
string
optional URL to return after authentication
boolean
determines if user was authenticated or notisAuthenticated() : boolean
boolean
user has a valid sessionlogout(string $url) : boolean
string
optional URL to return after authentication
boolean
determines if user was authenticated or not$handler