Nexus API Reference

ChainAuthenticator
in package
implements Authenticator

Read onlyYes
FinalYes
Tags
psalm-api

Tries authenticators in order, first non-null result wins. Exceptions from inner authenticators propagate (configuration errors should not be silenced).

new ChainAuthenticator([ new JwtAuthenticator(...), // primary new StaticTokenAuthenticator($devTokens), // fallback for tests/dev ]);

Table of Contents

Interfaces

Authenticator

Methods

__construct()  : mixed
authenticate()  : Principal|null

Methods


        
On this page

Search results