Nexus API Reference

AuthChallenge
in package

Read onlyYes
FinalYes
Tags
psalm-api

RFC 7235 WWW-Authenticate challenge. Returned with 401 responses so the client knows what credentials to present. realm and error are optional.

Standard error codes (RFC 6750): "invalid_token", "insufficient_scope".

Table of Contents

Properties

$error  : string|null
$realm  : string|null
$scheme  : string

Methods

__construct()  : mixed
toHeader()  : string

Properties

Methods

__construct()

public __construct(string $scheme[, string|null $realm = null ][, string|null $error = null ]) : mixed
Parameters
$scheme : string
$realm : string|null = null
$error : string|null = null

        
On this page

Search results