Oihana PHP Enums

OAuth2Display uses ConstantsTrait

Enumeration of standard OpenID Connect `display` parameter values.

Values used with the display parameter (see OAuth2Parameter) as a hint to the authorization server about how to render the authentication and consent UI to the End-User.

Example:

$params[ 'display' ] = OAuth2Display::POPUP ;

References:

  • OIDC Core 1.0 §3.1.2.1
Tags
author

Marc Alcaraz (ekameleon)

since
1.1.0

Table of Contents

Constants

PAGE  : string = 'page'
`page` — Default. Full-page rendering in the User Agent window.
POPUP  : string = 'popup'
`popup` — Render the UI in a popup User Agent window, sized appropriately for a login-focused dialog (recommendation: 450 x 500 px).
TOUCH  : string = 'touch'
`touch` — Render the UI with a device-appropriate touch interface (smartphones, tablets).
WAP  : string = 'wap'
`wap` — Render the UI with a feature-phone "WAP"-style interface.

Constants

PAGE

`page` — Default. Full-page rendering in the User Agent window.

public string PAGE = 'page'

POPUP

`popup` — Render the UI in a popup User Agent window, sized appropriately for a login-focused dialog (recommendation: 450 x 500 px).

public string POPUP = 'popup'

TOUCH

`touch` — Render the UI with a device-appropriate touch interface (smartphones, tablets).

public string TOUCH = 'touch'

WAP

`wap` — Render the UI with a feature-phone "WAP"-style interface.

public string WAP = 'wap'
On this page

Search results