Skip to content

Commit

Permalink
feat: Add a hook to customize WebAuthN server
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Jun 25, 2023
1 parent 4f34f29 commit 7618a40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inc/class-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public static function create_webauthn_server(): ServerInterface {
$builder->setRelyingParty( $party );
$builder->setCredentialStore( new WebAuthn_Credential_Store() );
$builder->enableExtensions( 'appid' );

do_action( 'tfa_webauthn_init_server', $builder );

return $builder->build();
}

Expand Down

0 comments on commit 7618a40

Please sign in to comment.