Prompt Uses EnumTrait
Values for the "prompt" request parameter defined in OpenID Connect Core 1.0.
Tags
Table of Contents
- $CONSENT : Prompt
 - The Authorization Server SHOULD prompt the End-User for consent before returning information to the Client. If it cannot obtain consent, it MUST return an error, typically `consent_required`.
 - $LOGIN : Prompt
 - The Authorization Server SHOULD prompt the End-User for reauthentication. If it cannot reauthenticate the End-User, it MUST return an error, typically `login_required`.
 - $NONE : Prompt
 - The Authorization Server MUST NOT display any authentication or consent user interface pages. An error is returned if an End-User is not already authenticated or the Client does not have pre-configured consent for the requested Claims or does not fulfill other conditions for processing the request. The error code will typically be `login_required`, `interaction_required`, or another code defined in Section 3.1.2.6 (OIDC Core 1.0).
 - $SELECT_ACCOUNT : Prompt
 - The Authorization Server SHOULD prompt the End-User to select a user account. This enables an End-User who has multiple accounts at the Authorization Server to select amongst the multiple accounts that they might have current sessions for.
 - __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
$CONSENT
The Authorization Server SHOULD prompt the End-User for consent before returning information to the Client. If it cannot obtain consent, it MUST return an error, typically `consent_required`.
    public
    static    Prompt
    $CONSENT
    
        
    
    Tags
$LOGIN
The Authorization Server SHOULD prompt the End-User for reauthentication. If it cannot reauthenticate the End-User, it MUST return an error, typically `login_required`.
    public
    static    Prompt
    $LOGIN
    
        
    
    Tags
$NONE
The Authorization Server MUST NOT display any authentication or consent user interface pages. An error is returned if an End-User is not already authenticated or the Client does not have pre-configured consent for the requested Claims or does not fulfill other conditions for processing the request. The error code will typically be `login_required`, `interaction_required`, or another code defined in Section 3.1.2.6 (OIDC Core 1.0).
    public
    static    Prompt
    $NONE
    
        This can be used as a method to check for existing authentication and/or consent.
Tags
$SELECT_ACCOUNT
The Authorization Server SHOULD prompt the End-User to select a user account. This enables an End-User who has multiple accounts at the Authorization Server to select amongst the multiple accounts that they might have current sessions for.
    public
    static    Prompt
    $SELECT_ACCOUNT
    
        If it cannot obtain an account selection choice made by the
End-User, it MUST return an error, typically
account_selection_required.
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.