Implements methods to manage OpenSSO interactions
| package | libopensso-php |
|---|
__construct(string $env, boolean $ask_server, string $metadata_dir)
stringWhich environment from metadata should this helper use
booleanWhen true cookie name will be fetched from server using getCookieNameForToken
stringDirectory to load metadata from
__get(string $name) : mixed
stringAttribute name
mixedAttribute valueallAttributes(boolean $use_arrays) : Array
booleanWhether to return values as arrays
ArrayAssociative array of attribute => valueattributeAsArray(string $name) : Array
stringAttribute name
ArrayValues for attributeenforceAuthentication(string $url) : boolean
stringoptional URL to return after authentication
booleandetermines if user was authenticated or notisAuthenticated() : boolean
booleanuser has a valid sessionlogout(string $url) : boolean
stringoptional URL to return after authentication
booleandetermines if user was authenticated or not$handler