Skip to content

Commit d3ec653

Browse files
feat(oslogin): update the api
#### oslogin:v1alpha The following keys were added: - schemas.LoginProfile.properties.securityKeys (Total Keys: 2) - schemas.SecurityKey (Total Keys: 6) - schemas.UniversalTwoFactor (Total Keys: 3) - schemas.WebAuthn (Total Keys: 3) #### oslogin:v1beta The following keys were added: - schemas.LoginProfile.properties.securityKeys (Total Keys: 2) - schemas.SecurityKey (Total Keys: 6) - schemas.UniversalTwoFactor (Total Keys: 3) - schemas.WebAuthn (Total Keys: 3)
1 parent e079d43 commit d3ec653

File tree

5 files changed

+155
-3
lines changed

5 files changed

+155
-3
lines changed

docs/dyn/oslogin_v1alpha.users.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,18 @@ <h3>Method Details</h3>
142142
&quot;username&quot;: &quot;A String&quot;, # The username of the POSIX account.
143143
},
144144
],
145+
&quot;securityKeys&quot;: [ # The registered security key credentials for a user.
146+
{ # The credential information for a Google registered security key.
147+
&quot;privateKey&quot;: &quot;A String&quot;, # Hardware-backed private key text in SSH format.
148+
&quot;publicKey&quot;: &quot;A String&quot;, # Public key text in SSH format, defined by [RFC4253](&quot;https://www.ietf.org/rfc/rfc4253.txt&quot;) section 6.6.
149+
&quot;universalTwoFactor&quot;: { # Security key information specific to the U2F protocol. # The U2F protocol type.
150+
&quot;appId&quot;: &quot;A String&quot;, # Application ID for the U2F protocol.
151+
},
152+
&quot;webAuthn&quot;: { # Security key information specific to the Web Authentication protocol. # The Web Authentication protocol type.
153+
&quot;rpId&quot;: &quot;A String&quot;, # Relying party ID for Web Authentication.
154+
},
155+
},
156+
],
145157
&quot;sshPublicKeys&quot;: { # A map from SSH public key fingerprint to the associated key object.
146158
&quot;a_key&quot;: { # The SSH public key information associated with a Google account.
147159
&quot;expirationTimeUsec&quot;: &quot;A String&quot;, # An expiration time in microseconds since epoch.
@@ -202,6 +214,18 @@ <h3>Method Details</h3>
202214
&quot;username&quot;: &quot;A String&quot;, # The username of the POSIX account.
203215
},
204216
],
217+
&quot;securityKeys&quot;: [ # The registered security key credentials for a user.
218+
{ # The credential information for a Google registered security key.
219+
&quot;privateKey&quot;: &quot;A String&quot;, # Hardware-backed private key text in SSH format.
220+
&quot;publicKey&quot;: &quot;A String&quot;, # Public key text in SSH format, defined by [RFC4253](&quot;https://www.ietf.org/rfc/rfc4253.txt&quot;) section 6.6.
221+
&quot;universalTwoFactor&quot;: { # Security key information specific to the U2F protocol. # The U2F protocol type.
222+
&quot;appId&quot;: &quot;A String&quot;, # Application ID for the U2F protocol.
223+
},
224+
&quot;webAuthn&quot;: { # Security key information specific to the Web Authentication protocol. # The Web Authentication protocol type.
225+
&quot;rpId&quot;: &quot;A String&quot;, # Relying party ID for Web Authentication.
226+
},
227+
},
228+
],
205229
&quot;sshPublicKeys&quot;: { # A map from SSH public key fingerprint to the associated key object.
206230
&quot;a_key&quot;: { # The SSH public key information associated with a Google account.
207231
&quot;expirationTimeUsec&quot;: &quot;A String&quot;, # An expiration time in microseconds since epoch.

docs/dyn/oslogin_v1beta.users.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,18 @@ <h3>Method Details</h3>
137137
&quot;username&quot;: &quot;A String&quot;, # The username of the POSIX account.
138138
},
139139
],
140+
&quot;securityKeys&quot;: [ # The registered security key credentials for a user.
141+
{ # The credential information for a Google registered security key.
142+
&quot;privateKey&quot;: &quot;A String&quot;, # Hardware-backed private key text in SSH format.
143+
&quot;publicKey&quot;: &quot;A String&quot;, # Public key text in SSH format, defined by [RFC4253](&quot;https://www.ietf.org/rfc/rfc4253.txt&quot;) section 6.6.
144+
&quot;universalTwoFactor&quot;: { # Security key information specific to the U2F protocol. # The U2F protocol type.
145+
&quot;appId&quot;: &quot;A String&quot;, # Application ID for the U2F protocol.
146+
},
147+
&quot;webAuthn&quot;: { # Security key information specific to the Web Authentication protocol. # The Web Authentication protocol type.
148+
&quot;rpId&quot;: &quot;A String&quot;, # Relying party ID for Web Authentication.
149+
},
150+
},
151+
],
140152
&quot;sshPublicKeys&quot;: { # A map from SSH public key fingerprint to the associated key object.
141153
&quot;a_key&quot;: { # The SSH public key information associated with a Google account.
142154
&quot;expirationTimeUsec&quot;: &quot;A String&quot;, # An expiration time in microseconds since epoch.
@@ -197,6 +209,18 @@ <h3>Method Details</h3>
197209
&quot;username&quot;: &quot;A String&quot;, # The username of the POSIX account.
198210
},
199211
],
212+
&quot;securityKeys&quot;: [ # The registered security key credentials for a user.
213+
{ # The credential information for a Google registered security key.
214+
&quot;privateKey&quot;: &quot;A String&quot;, # Hardware-backed private key text in SSH format.
215+
&quot;publicKey&quot;: &quot;A String&quot;, # Public key text in SSH format, defined by [RFC4253](&quot;https://www.ietf.org/rfc/rfc4253.txt&quot;) section 6.6.
216+
&quot;universalTwoFactor&quot;: { # Security key information specific to the U2F protocol. # The U2F protocol type.
217+
&quot;appId&quot;: &quot;A String&quot;, # Application ID for the U2F protocol.
218+
},
219+
&quot;webAuthn&quot;: { # Security key information specific to the Web Authentication protocol. # The Web Authentication protocol type.
220+
&quot;rpId&quot;: &quot;A String&quot;, # Relying party ID for Web Authentication.
221+
},
222+
},
223+
],
200224
&quot;sshPublicKeys&quot;: { # A map from SSH public key fingerprint to the associated key object.
201225
&quot;a_key&quot;: { # The SSH public key information associated with a Google account.
202226
&quot;expirationTimeUsec&quot;: &quot;A String&quot;, # An expiration time in microseconds since epoch.

googleapiclient/discovery_cache/documents/oslogin.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306
}
307307
}
308308
},
309-
"revision": "20210717",
309+
"revision": "20210731",
310310
"rootUrl": "https://oslogin.googleapis.com/",
311311
"schemas": {
312312
"Empty": {

googleapiclient/discovery_cache/documents/oslogin.v1alpha.json

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@
374374
}
375375
}
376376
},
377-
"revision": "20210717",
377+
"revision": "20210731",
378378
"rootUrl": "https://oslogin.googleapis.com/",
379379
"schemas": {
380380
"Empty": {
@@ -413,6 +413,13 @@
413413
},
414414
"type": "array"
415415
},
416+
"securityKeys": {
417+
"description": "The registered security key credentials for a user.",
418+
"items": {
419+
"$ref": "SecurityKey"
420+
},
421+
"type": "array"
422+
},
416423
"sshPublicKeys": {
417424
"additionalProperties": {
418425
"$ref": "SshPublicKey"
@@ -488,6 +495,29 @@
488495
},
489496
"type": "object"
490497
},
498+
"SecurityKey": {
499+
"description": "The credential information for a Google registered security key.",
500+
"id": "SecurityKey",
501+
"properties": {
502+
"privateKey": {
503+
"description": "Hardware-backed private key text in SSH format.",
504+
"type": "string"
505+
},
506+
"publicKey": {
507+
"description": "Public key text in SSH format, defined by [RFC4253](\"https://www.ietf.org/rfc/rfc4253.txt\") section 6.6.",
508+
"type": "string"
509+
},
510+
"universalTwoFactor": {
511+
"$ref": "UniversalTwoFactor",
512+
"description": "The U2F protocol type."
513+
},
514+
"webAuthn": {
515+
"$ref": "WebAuthn",
516+
"description": "The Web Authentication protocol type."
517+
}
518+
},
519+
"type": "object"
520+
},
491521
"SshPublicKey": {
492522
"description": "The SSH public key information associated with a Google account.",
493523
"id": "SshPublicKey",
@@ -513,6 +543,28 @@
513543
}
514544
},
515545
"type": "object"
546+
},
547+
"UniversalTwoFactor": {
548+
"description": "Security key information specific to the U2F protocol.",
549+
"id": "UniversalTwoFactor",
550+
"properties": {
551+
"appId": {
552+
"description": "Application ID for the U2F protocol.",
553+
"type": "string"
554+
}
555+
},
556+
"type": "object"
557+
},
558+
"WebAuthn": {
559+
"description": "Security key information specific to the Web Authentication protocol.",
560+
"id": "WebAuthn",
561+
"properties": {
562+
"rpId": {
563+
"description": "Relying party ID for Web Authentication.",
564+
"type": "string"
565+
}
566+
},
567+
"type": "object"
516568
}
517569
},
518570
"servicePath": "",

googleapiclient/discovery_cache/documents/oslogin.v1beta.json

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
}
345345
}
346346
},
347-
"revision": "20210717",
347+
"revision": "20210731",
348348
"rootUrl": "https://oslogin.googleapis.com/",
349349
"schemas": {
350350
"Empty": {
@@ -383,6 +383,13 @@
383383
},
384384
"type": "array"
385385
},
386+
"securityKeys": {
387+
"description": "The registered security key credentials for a user.",
388+
"items": {
389+
"$ref": "SecurityKey"
390+
},
391+
"type": "array"
392+
},
386393
"sshPublicKeys": {
387394
"additionalProperties": {
388395
"$ref": "SshPublicKey"
@@ -458,6 +465,29 @@
458465
},
459466
"type": "object"
460467
},
468+
"SecurityKey": {
469+
"description": "The credential information for a Google registered security key.",
470+
"id": "SecurityKey",
471+
"properties": {
472+
"privateKey": {
473+
"description": "Hardware-backed private key text in SSH format.",
474+
"type": "string"
475+
},
476+
"publicKey": {
477+
"description": "Public key text in SSH format, defined by [RFC4253](\"https://www.ietf.org/rfc/rfc4253.txt\") section 6.6.",
478+
"type": "string"
479+
},
480+
"universalTwoFactor": {
481+
"$ref": "UniversalTwoFactor",
482+
"description": "The U2F protocol type."
483+
},
484+
"webAuthn": {
485+
"$ref": "WebAuthn",
486+
"description": "The Web Authentication protocol type."
487+
}
488+
},
489+
"type": "object"
490+
},
461491
"SshPublicKey": {
462492
"description": "The SSH public key information associated with a Google account.",
463493
"id": "SshPublicKey",
@@ -483,6 +513,28 @@
483513
}
484514
},
485515
"type": "object"
516+
},
517+
"UniversalTwoFactor": {
518+
"description": "Security key information specific to the U2F protocol.",
519+
"id": "UniversalTwoFactor",
520+
"properties": {
521+
"appId": {
522+
"description": "Application ID for the U2F protocol.",
523+
"type": "string"
524+
}
525+
},
526+
"type": "object"
527+
},
528+
"WebAuthn": {
529+
"description": "Security key information specific to the Web Authentication protocol.",
530+
"id": "WebAuthn",
531+
"properties": {
532+
"rpId": {
533+
"description": "Relying party ID for Web Authentication.",
534+
"type": "string"
535+
}
536+
},
537+
"type": "object"
486538
}
487539
},
488540
"servicePath": "",

0 commit comments

Comments
 (0)