Display Uses EnumTrait
Values for the "display" request parameter defined in OpenID Connect Core 1.0 and for the "display_values_supported" metadata defined in OpenID Connect Discovery 1.0.
Tags
Table of Contents
- $PAGE : Display
- The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the `display` parameter is not specified, this is the display mode.
- $POPUP : Display
- The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over.
- $TOUCH : Display
- The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface.
- $WAP : Display
- The Authorization Server SHOULD display the authentication and consent UI consistent with a "feature phone" type display.
- __toString() : string
- Get the name of this instance.
- name() : string
- Get the name of this instance.
- valueOf() : static
- Get an instance of this class that the given argument represents.
- values() : array<string|int, mixed>
- Get the list of public class variables listed in this class.
Properties
$PAGE
The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the `display` parameter is not specified, this is the display mode.
public
static Display
$PAGE
Tags
$POPUP
The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over.
public
static Display
$POPUP
Tags
$TOUCH
The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface.
public
static Display
$TOUCH
Tags
$WAP
The Authorization Server SHOULD display the authentication and consent UI consistent with a "feature phone" type display.
public
static Display
$WAP
Tags
Methods
__toString()
Get the name of this instance.
public
__toString() : string
Return values
string —The name of this instance.
name()
Get the name of this instance.
public
name() : string
Return values
string —The name of this instance.
valueOf()
Get an instance of this class that the given argument represents.
public
static valueOf(mixed $value) : static
If the given argument is an instance of this class, the instance itself is returned.
Otherwise, if the given argument is null
, null
is returned.
Otherwise, if the type of the given argument is not string
,
an InvalidArgumentException
is returned.
Otherwise, a class variable whose name is equal to the given
argument is looked up. If found, the instance is returned.
If not found, an InvalidArgumentException
is thrown.
Parameters
- $value : mixed
-
A string that represents an instance of this class, or an instance of this class, or
null
.
Return values
static —An instance of this class.
values()
Get the list of public class variables listed in this class.
public
static values() : array<string|int, mixed>
Return values
array<string|int, mixed> —Instances of this class which are defined as public class variables.