File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -90,16 +90,16 @@ public function __construct(
9090
9191 public function startRegistration (IUser $ user , string $ serverHost ): PublicKeyCredentialCreationOptions {
9292 $ rpEntity = new PublicKeyCredentialRpEntity (
93- 'Nextcloud ' , //Name
94- $ this ->stripPort ($ serverHost ), //ID
95- null //Icon
93+ 'Nextcloud ' ,
94+ $ this ->stripPort ($ serverHost ),
95+ null ,
9696 );
9797
9898 $ userEntity = new PublicKeyCredentialUserEntity (
99- $ user ->getUID (), //Name
100- $ user ->getUID (), //ID
101- $ user ->getDisplayName (), //Display name
102- null //Icon
99+ $ user ->getUID (),
100+ $ user ->getUID (),
101+ $ user ->getDisplayName (),
102+ null ,
103103 );
104104
105105 $ challenge = $ this ->random ->generate (32 );
@@ -268,11 +268,11 @@ function ($device) {
268268
269269 $ publicKeyCredentialRequestOptions = new PublicKeyCredentialRequestOptions (
270270 $ this ->random ->generate (32 ),
271- null , // Relying Party ID
272- [], // Registered PublicKeyCredentialDescriptor classes
273- null , // User verification requirement
274- 60000 , // Timeout
275- $ extensions
271+ null ,
272+ [],
273+ null ,
274+ 60000 ,
275+ $ extensions,
276276 );
277277 $ publicKeyCredentialRequestOptions
278278 ->setRpId ($ this ->stripPort ($ serverHost ))
You can’t perform that action at this time.
0 commit comments