Roda::RodaPlugins::
Auth module
Extended With |
|
Zero-opinion Authentication plugin for Roda
Refs: - roda.jeremyevans.net/rdoc/files/README_rdoc.html#label-Plugins - www.rfc-editor.org/rfc/rfc9110.html
Constants
- AUTHORIZATION_CREDENTIALS
Pattern for matching an Authorization HTTP header auth-scheme [ 1*SP ( token68 / [ auth-param *(
OWS
“,”OWS
auth-param ) ] ) ]- AUTH_PARAM
Pattern for matching auth-param header parts auth-param = token BWS “=” BWS ( token / quoted-string )
- DEFAULT_OPTIONS
Defaults for global authentication
- OPTIONS_KEY
The key of the app options auth config is stored in
- OWS
- QDTEXT
qdtext = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text
- QUOTED_PAIR
quoted-pair = “" ( HTAB / SP / VCHAR / obs-text )
- QUOTED_STRING
quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE
- TOKEN
Pattern for matching
token
character sequences- TOKEN68
Pattern for matching
token68
character sequences 1( ALPHA / DIGIT / “-” / “.” / “_” / “~” / “+” / “/” ) “=”- WS
Pattern for matching whitespace of various kinds
Public Class Methods
Declare global authentication defaults
Roda
Plugin API – preload plugins this one depends on.
Return content for the WWW-Authenticate header given the authentication config options
.