Skip to content

Commit

Permalink
feat: added default values for sessionTime and allowedOrigin
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Goel <[email protected]>
  • Loading branch information
grvgoel81 authored and Gaurav Goel committed Sep 17, 2024
1 parent 9a5f4ba commit ca2b2c6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import org.web3j.crypto.Hash
class SingleFactorAuth(
sfaParams: SFAParams,
ctx: Context,
sessionTime: Long,
allowedOrigin: String
sessionTime: Long = 86400,
allowedOrigin: String = "*"
) {
private var nodeDetailManager: FetchNodeDetails =
FetchNodeDetails(sfaParams.getNetwork())
Expand Down

0 comments on commit ca2b2c6

Please sign in to comment.