In hapi.js, what is the difference between Auth Scheme and Strategy?

The hapi.js documentation is not particularly complete (new) 1 ...

What is the difference between Auth Server Schema and Strategy ?

Do I need to have both?

1 If someone can explain the difference, we will use PR in the documents.

Also published: https://github.com/hapijs/discuss/issues/163

+4
source share
1 answer

, . . : http://hapijs.com/tutorials/auth. -:

- . - - , hapi . . , .

- . , , . , , . , , . . :

enter image description here

, (.. hapi-auth-basic).

+10

Source: https://habr.com/ru/post/1607436/


All Articles