Skip to content

Commit

Permalink
feat: publish casa project
Browse files Browse the repository at this point in the history
  • Loading branch information
nynymike committed Oct 3, 2024
1 parent 010e58b commit 7600526
Show file tree
Hide file tree
Showing 35 changed files with 8,235 additions and 2 deletions.
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# agama-casa
Official Repo for the Agama Casa Project
### casa
A 2FA flow featuring pluggable authentication methods
16 changes: 16 additions & 0 deletions code/io.jans.casa.authn.fido2.flow
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Prompts the user to present his Fido2 credential. It returns a positive value if the operation
// (assertion) was successful, or a negative value if he decided to use a different credential
// to authenticate. This flow does not terminate if the assertion fails: the user simply stays
// at the page employed to prompt for the credential
// The identity of the user to authenticate is provided in userData input param
Flow io.jans.casa.authn.fido2
Basepath ""
Inputs userData withEscape
jose = Call io.jans.casa.authn.FidoValidator#new
assertion = Call jose assertionRequest userData.uid
obj = { name: userData.name, escape: withEscape, assertion: assertion }
obj = RRF "authn/fido-authn.ftlh" obj
When obj.skipped is ""
Finish false
Call jose verify obj.tokenResponse
Finish true
Loading

0 comments on commit 7600526

Please sign in to comment.