Automatically chosen Authentication
If you server provides multiple options for authorization, you can configure wampy.js to automatically choose required authorization flow based on authmethod
requested by server. For this flow you need to configure next options:
authid
. Authentication id to use in challengeauthmethods
. Supported authentication methodsauthextra
. Additional authentication optionsauthPlugins
. Authentication helpers for processing different authmethods challenge flowsauthMode
. Mode of authorization flow. Should be set toauto
onChallenge
. onChallenge callback. Is not used whenauthMode=auto
Last updated