| 1 |
<html><body> |
| 2 |
<style> |
| 3 |
|
| 4 |
body, h1, h2, h3, div, span, p, pre, a { |
| 5 |
margin: 0; |
| 6 |
padding: 0; |
| 7 |
border: 0; |
| 8 |
font-weight: inherit; |
| 9 |
font-style: inherit; |
| 10 |
font-size: 100%; |
| 11 |
font-family: inherit; |
| 12 |
vertical-align: baseline; |
| 13 |
} |
| 14 |
|
| 15 |
body { |
| 16 |
font-size: 13px; |
| 17 |
padding: 1em; |
| 18 |
} |
| 19 |
|
| 20 |
h1 { |
| 21 |
font-size: 26px; |
| 22 |
margin-bottom: 1em; |
| 23 |
} |
| 24 |
|
| 25 |
h2 { |
| 26 |
font-size: 24px; |
| 27 |
margin-bottom: 1em; |
| 28 |
} |
| 29 |
|
| 30 |
h3 { |
| 31 |
font-size: 20px; |
| 32 |
margin-bottom: 1em; |
| 33 |
margin-top: 1em; |
| 34 |
} |
| 35 |
|
| 36 |
pre, code { |
| 37 |
line-height: 1.5; |
| 38 |
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 |
} |
| 40 |
|
| 41 |
pre { |
| 42 |
margin-top: 0.5em; |
| 43 |
} |
| 44 |
|
| 45 |
h1, h2, h3, p { |
| 46 |
font-family: Arial, sans serif; |
| 47 |
} |
| 48 |
|
| 49 |
h1, h2, h3 { |
| 50 |
border-bottom: solid #CCC 1px; |
| 51 |
} |
| 52 |
|
| 53 |
.toc_element { |
| 54 |
margin-top: 0.5em; |
| 55 |
} |
| 56 |
|
| 57 |
.firstline { |
| 58 |
margin-left: 2 em; |
| 59 |
} |
| 60 |
|
| 61 |
.method { |
| 62 |
margin-top: 1em; |
| 63 |
border: solid 1px #CCC; |
| 64 |
padding: 1em; |
| 65 |
background: #EEE; |
| 66 |
} |
| 67 |
|
| 68 |
.details { |
| 69 |
font-weight: bold; |
| 70 |
font-size: 14px; |
| 71 |
} |
| 72 |
|
| 73 |
</style> |
| 74 |
|
| 75 |
<h1><a href="identitytoolkit_v2.html">Identity Toolkit API</a> . <a href="identitytoolkit_v2.projects.html">projects</a> . <a href="identitytoolkit_v2.projects.inboundSamlConfigs.html">inboundSamlConfigs</a></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="#close">close()</a></code></p> |
| 79 |
<p class="firstline">Close httplib2 connections.</p> |
| 80 |
<p class="toc_element"> |
| 81 |
<code><a href="#create">create(parent, body=None, inboundSamlConfigId=None, x__xgafv=None)</a></code></p> |
| 82 |
<p class="firstline">Create an inbound SAML configuration for an Identity Toolkit project.</p> |
| 83 |
<p class="toc_element"> |
| 84 |
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p> |
| 85 |
<p class="firstline">Delete an inbound SAML configuration for an Identity Toolkit project.</p> |
| 86 |
<p class="toc_element"> |
| 87 |
<code><a href="#get">get(name, x__xgafv=None)</a></code></p> |
| 88 |
<p class="firstline">Retrieve an inbound SAML configuration for an Identity Toolkit project.</p> |
| 89 |
<p class="toc_element"> |
| 90 |
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> |
| 91 |
<p class="firstline">List all inbound SAML configurations for an Identity Toolkit project.</p> |
| 92 |
<p class="toc_element"> |
| 93 |
<code><a href="#list_next">list_next()</a></code></p> |
| 94 |
<p class="firstline">Retrieves the next page of results.</p> |
| 95 |
<p class="toc_element"> |
| 96 |
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> |
| 97 |
<p class="firstline">Update an inbound SAML configuration for an Identity Toolkit project.</p> |
| 98 |
<h3>Method Details</h3> |
| 99 |
<div class="method"> |
| 100 |
<code class="details" id="close">close()</code> |
| 101 |
<pre>Close httplib2 connections.</pre> |
| 102 |
</div> |
| 103 |
|
| 104 |
<div class="method"> |
| 105 |
<code class="details" id="create">create(parent, body=None, inboundSamlConfigId=None, x__xgafv=None)</code> |
| 106 |
<pre>Create an inbound SAML configuration for an Identity Toolkit project. |
| 107 |
|
| 108 |
Args: |
| 109 |
parent: string, The parent resource name where the config to be created, for example: "projects/my-awesome-project" (required) |
| 110 |
body: object, The request body. |
| 111 |
The object takes the form of: |
| 112 |
|
| 113 |
{ # A pair of SAML RP-IDP configurations when the project acts as the relying party. |
| 114 |
"displayName": "A String", # The config's display name set by developers. |
| 115 |
"enabled": True or False, # True if allows the user to sign in with the provider. |
| 116 |
"idpConfig": { # The SAML IdP (Identity Provider) configuration when the project acts as the relying party. # The SAML IdP (Identity Provider) configuration when the project acts as the relying party. |
| 117 |
"idpCertificates": [ # IDP's public keys for verifying signature in the assertions. |
| 118 |
{ # The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. |
| 119 |
"x509Certificate": "A String", # The x509 certificate |
| 120 |
}, |
| 121 |
], |
| 122 |
"idpEntityId": "A String", # Unique identifier for all SAML entities. |
| 123 |
"signRequest": True or False, # Indicates if outbounding SAMLRequest should be signed. |
| 124 |
"ssoUrl": "A String", # URL to send Authentication request to. |
| 125 |
}, |
| 126 |
"name": "A String", # The name of the InboundSamlConfig resource, for example: 'projects/my-awesome-project/inboundSamlConfigs/my-config-id'. Ignored during create requests. |
| 127 |
"spConfig": { # The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. # The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. |
| 128 |
"callbackUri": "A String", # Callback URI where responses from IDP are handled. |
| 129 |
"spCertificates": [ # Output only. Public certificates generated by the server to verify the signature in SAMLRequest in the SP-initiated flow. |
| 130 |
{ # The SP's certificate data for IDP to verify the SAMLRequest generated by the SP. |
| 131 |
"expiresAt": "A String", # Timestamp of the cert expiration instance. |
| 132 |
"x509Certificate": "A String", # Self-signed public certificate. |
| 133 |
}, |
| 134 |
], |
| 135 |
"spEntityId": "A String", # Unique identifier for all SAML entities. |
| 136 |
}, |
| 137 |
} |
| 138 |
|
| 139 |
inboundSamlConfigId: string, The id to use for this config. |
| 140 |
x__xgafv: string, V1 error format. |
| 141 |
Allowed values |
| 142 |
1 - v1 error format |
| 143 |
2 - v2 error format |
| 144 |
|
| 145 |
Returns: |
| 146 |
An object of the form: |
| 147 |
|
| 148 |
{ # A pair of SAML RP-IDP configurations when the project acts as the relying party. |
| 149 |
"displayName": "A String", # The config's display name set by developers. |
| 150 |
"enabled": True or False, # True if allows the user to sign in with the provider. |
| 151 |
"idpConfig": { # The SAML IdP (Identity Provider) configuration when the project acts as the relying party. # The SAML IdP (Identity Provider) configuration when the project acts as the relying party. |
| 152 |
"idpCertificates": [ # IDP's public keys for verifying signature in the assertions. |
| 153 |
{ # The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. |
| 154 |
"x509Certificate": "A String", # The x509 certificate |
| 155 |
}, |
| 156 |
], |
| 157 |
"idpEntityId": "A String", # Unique identifier for all SAML entities. |
| 158 |
"signRequest": True or False, # Indicates if outbounding SAMLRequest should be signed. |
| 159 |
"ssoUrl": "A String", # URL to send Authentication request to. |
| 160 |
}, |
| 161 |
"name": "A String", # The name of the InboundSamlConfig resource, for example: 'projects/my-awesome-project/inboundSamlConfigs/my-config-id'. Ignored during create requests. |
| 162 |
"spConfig": { # The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. # The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. |
| 163 |
"callbackUri": "A String", # Callback URI where responses from IDP are handled. |
| 164 |
"spCertificates": [ # Output only. Public certificates generated by the server to verify the signature in SAMLRequest in the SP-initiated flow. |
| 165 |
{ # The SP's certificate data for IDP to verify the SAMLRequest generated by the SP. |
| 166 |
"expiresAt": "A String", # Timestamp of the cert expiration instance. |
| 167 |
"x509Certificate": "A String", # Self-signed public certificate. |
| 168 |
}, |
| 169 |
], |
| 170 |
"spEntityId": "A String", # Unique identifier for all SAML entities. |
| 171 |
}, |
| 172 |
}</pre> |
| 173 |
</div> |
| 174 |
|
| 175 |
<div class="method"> |
| 176 |
<code class="details" id="delete">delete(name, x__xgafv=None)</code> |
| 177 |
<pre>Delete an inbound SAML configuration for an Identity Toolkit project. |
| 178 |
|
| 179 |
Args: |
| 180 |
name: string, The resource name of the config to be deleted, for example: 'projects/my-awesome-project/inboundSamlConfigs/my-config-id'. (required) |
| 181 |
x__xgafv: string, V1 error format. |
| 182 |
Allowed values |
| 183 |
1 - v1 error format |
| 184 |
2 - v2 error format |
| 185 |
|
| 186 |
Returns: |
| 187 |
An object of the form: |
| 188 |
|
| 189 |
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } |
| 190 |
}</pre> |
| 191 |
</div> |
| 192 |
|
| 193 |
<div class="method"> |
| 194 |
<code class="details" id="get">get(name, x__xgafv=None)</code> |
| 195 |
<pre>Retrieve an inbound SAML configuration for an Identity Toolkit project. |
| 196 |
|
| 197 |
Args: |
| 198 |
name: string, The resource name of the config, for example: 'projects/my-awesome-project/inboundSamlConfigs/my-config-id'. (required) |
| 199 |
x__xgafv: string, V1 error format. |
| 200 |
Allowed values |
| 201 |
1 - v1 error format |
| 202 |
2 - v2 error format |
| 203 |
|
| 204 |
Returns: |
| 205 |
An object of the form: |
| 206 |
|
| 207 |
{ # A pair of SAML RP-IDP configurations when the project acts as the relying party. |
| 208 |
"displayName": "A String", # The config's display name set by developers. |
| 209 |
"enabled": True or False, # True if allows the user to sign in with the provider. |
| 210 |
"idpConfig": { # The SAML IdP (Identity Provider) configuration when the project acts as the relying party. # The SAML IdP (Identity Provider) configuration when the project acts as the relying party. |
| 211 |
"idpCertificates": [ # IDP's public keys for verifying signature in the assertions. |
| 212 |
{ # The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. |
| 213 |
"x509Certificate": "A String", # The x509 certificate |
| 214 |
}, |
| 215 |
], |
| 216 |
"idpEntityId": "A String", # Unique identifier for all SAML entities. |
| 217 |
"signRequest": True or False, # Indicates if outbounding SAMLRequest should be signed. |
| 218 |
"ssoUrl": "A String", # URL to send Authentication request to. |
| 219 |
}, |
| 220 |
"name": "A String", # The name of the InboundSamlConfig resource, for example: 'projects/my-awesome-project/inboundSamlConfigs/my-config-id'. Ignored during create requests. |
| 221 |
"spConfig": { # The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. # The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. |
| 222 |
"callbackUri": "A String", # Callback URI where responses from IDP are handled. |
| 223 |
"spCertificates": [ # Output only. Public certificates generated by the server to verify the signature in SAMLRequest in the SP-initiated flow. |
| 224 |
{ # The SP's certificate data for IDP to verify the SAMLRequest generated by the SP. |
| 225 |
"expiresAt": "A String", # Timestamp of the cert expiration instance. |
| 226 |
"x509Certificate": "A String", # Self-signed public certificate. |
| 227 |
}, |
| 228 |
], |
| 229 |
"spEntityId": "A String", # Unique identifier for all SAML entities. |
| 230 |
}, |
| 231 |
}</pre> |
| 232 |
</div> |
| 233 |
|
| 234 |
<div class="method"> |
| 235 |
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code> |
| 236 |
<pre>List all inbound SAML configurations for an Identity Toolkit project. |
| 237 |
|
| 238 |
Args: |
| 239 |
parent: string, The parent resource name, for example, "projects/my-awesome-project". (required) |
| 240 |
pageSize: integer, The maximum number of items to return. |
| 241 |
pageToken: string, The next_page_token value returned from a previous List request, if any. |
| 242 |
x__xgafv: string, V1 error format. |
| 243 |
Allowed values |
| 244 |
1 - v1 error format |
| 245 |
2 - v2 error format |
| 246 |
|
| 247 |
Returns: |
| 248 |
An object of the form: |
| 249 |
|
| 250 |
{ # Response for ListInboundSamlConfigs |
| 251 |
"inboundSamlConfigs": [ # The set of configs. |
| 252 |
{ # A pair of SAML RP-IDP configurations when the project acts as the relying party. |
| 253 |
"displayName": "A String", # The config's display name set by developers. |
| 254 |
"enabled": True or False, # True if allows the user to sign in with the provider. |
| 255 |
"idpConfig": { # The SAML IdP (Identity Provider) configuration when the project acts as the relying party. # The SAML IdP (Identity Provider) configuration when the project acts as the relying party. |
| 256 |
"idpCertificates": [ # IDP's public keys for verifying signature in the assertions. |
| 257 |
{ # The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. |
| 258 |
"x509Certificate": "A String", # The x509 certificate |
| 259 |
}, |
| 260 |
], |
| 261 |
"idpEntityId": "A String", # Unique identifier for all SAML entities. |
| 262 |
"signRequest": True or False, # Indicates if outbounding SAMLRequest should be signed. |
| 263 |
"ssoUrl": "A String", # URL to send Authentication request to. |
| 264 |
}, |
| 265 |
"name": "A String", # The name of the InboundSamlConfig resource, for example: 'projects/my-awesome-project/inboundSamlConfigs/my-config-id'. Ignored during create requests. |
| 266 |
"spConfig": { # The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. # The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. |
| 267 |
"callbackUri": "A String", # Callback URI where responses from IDP are handled. |
| 268 |
"spCertificates": [ # Output only. Public certificates generated by the server to verify the signature in SAMLRequest in the SP-initiated flow. |
| 269 |
{ # The SP's certificate data for IDP to verify the SAMLRequest generated by the SP. |
| 270 |
"expiresAt": "A String", # Timestamp of the cert expiration instance. |
| 271 |
"x509Certificate": "A String", # Self-signed public certificate. |
| 272 |
}, |
| 273 |
], |
| 274 |
"spEntityId": "A String", # Unique identifier for all SAML entities. |
| 275 |
}, |
| 276 |
}, |
| 277 |
], |
| 278 |
"nextPageToken": "A String", # Token to retrieve the next page of results, or empty if there are no more results in the list. |
| 279 |
}</pre> |
| 280 |
</div> |
| 281 |
|
| 282 |
<div class="method"> |
| 283 |
<code class="details" id="list_next">list_next()</code> |
| 284 |
<pre>Retrieves the next page of results. |
| 285 |
|
| 286 |
Args: |
| 287 |
previous_request: The request for the previous page. (required) |
| 288 |
previous_response: The response from the request for the previous page. (required) |
| 289 |
|
| 290 |
Returns: |
| 291 |
A request object that you can call 'execute()' on to request the next |
| 292 |
page. Returns None if there are no more items in the collection. |
| 293 |
</pre> |
| 294 |
</div> |
| 295 |
|
| 296 |
<div class="method"> |
| 297 |
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code> |
| 298 |
<pre>Update an inbound SAML configuration for an Identity Toolkit project. |
| 299 |
|
| 300 |
Args: |
| 301 |
name: string, The name of the InboundSamlConfig resource, for example: 'projects/my-awesome-project/inboundSamlConfigs/my-config-id'. Ignored during create requests. (required) |
| 302 |
body: object, The request body. |
| 303 |
The object takes the form of: |
| 304 |
|
| 305 |
{ # A pair of SAML RP-IDP configurations when the project acts as the relying party. |
| 306 |
"displayName": "A String", # The config's display name set by developers. |
| 307 |
"enabled": True or False, # True if allows the user to sign in with the provider. |
| 308 |
"idpConfig": { # The SAML IdP (Identity Provider) configuration when the project acts as the relying party. # The SAML IdP (Identity Provider) configuration when the project acts as the relying party. |
| 309 |
"idpCertificates": [ # IDP's public keys for verifying signature in the assertions. |
| 310 |
{ # The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. |
| 311 |
"x509Certificate": "A String", # The x509 certificate |
| 312 |
}, |
| 313 |
], |
| 314 |
"idpEntityId": "A String", # Unique identifier for all SAML entities. |
| 315 |
"signRequest": True or False, # Indicates if outbounding SAMLRequest should be signed. |
| 316 |
"ssoUrl": "A String", # URL to send Authentication request to. |
| 317 |
}, |
| 318 |
"name": "A String", # The name of the InboundSamlConfig resource, for example: 'projects/my-awesome-project/inboundSamlConfigs/my-config-id'. Ignored during create requests. |
| 319 |
"spConfig": { # The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. # The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. |
| 320 |
"callbackUri": "A String", # Callback URI where responses from IDP are handled. |
| 321 |
"spCertificates": [ # Output only. Public certificates generated by the server to verify the signature in SAMLRequest in the SP-initiated flow. |
| 322 |
{ # The SP's certificate data for IDP to verify the SAMLRequest generated by the SP. |
| 323 |
"expiresAt": "A String", # Timestamp of the cert expiration instance. |
| 324 |
"x509Certificate": "A String", # Self-signed public certificate. |
| 325 |
}, |
| 326 |
], |
| 327 |
"spEntityId": "A String", # Unique identifier for all SAML entities. |
| 328 |
}, |
| 329 |
} |
| 330 |
|
| 331 |
updateMask: string, The update mask applies to the resource. Empty update mask will result in updating nothing. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask |
| 332 |
x__xgafv: string, V1 error format. |
| 333 |
Allowed values |
| 334 |
1 - v1 error format |
| 335 |
2 - v2 error format |
| 336 |
|
| 337 |
Returns: |
| 338 |
An object of the form: |
| 339 |
|
| 340 |
{ # A pair of SAML RP-IDP configurations when the project acts as the relying party. |
| 341 |
"displayName": "A String", # The config's display name set by developers. |
| 342 |
"enabled": True or False, # True if allows the user to sign in with the provider. |
| 343 |
"idpConfig": { # The SAML IdP (Identity Provider) configuration when the project acts as the relying party. # The SAML IdP (Identity Provider) configuration when the project acts as the relying party. |
| 344 |
"idpCertificates": [ # IDP's public keys for verifying signature in the assertions. |
| 345 |
{ # The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP. |
| 346 |
"x509Certificate": "A String", # The x509 certificate |
| 347 |
}, |
| 348 |
], |
| 349 |
"idpEntityId": "A String", # Unique identifier for all SAML entities. |
| 350 |
"signRequest": True or False, # Indicates if outbounding SAMLRequest should be signed. |
| 351 |
"ssoUrl": "A String", # URL to send Authentication request to. |
| 352 |
}, |
| 353 |
"name": "A String", # The name of the InboundSamlConfig resource, for example: 'projects/my-awesome-project/inboundSamlConfigs/my-config-id'. Ignored during create requests. |
| 354 |
"spConfig": { # The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. # The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. |
| 355 |
"callbackUri": "A String", # Callback URI where responses from IDP are handled. |
| 356 |
"spCertificates": [ # Output only. Public certificates generated by the server to verify the signature in SAMLRequest in the SP-initiated flow. |
| 357 |
{ # The SP's certificate data for IDP to verify the SAMLRequest generated by the SP. |
| 358 |
"expiresAt": "A String", # Timestamp of the cert expiration instance. |
| 359 |
"x509Certificate": "A String", # Self-signed public certificate. |
| 360 |
}, |
| 361 |
], |
| 362 |
"spEntityId": "A String", # Unique identifier for all SAML entities. |
| 363 |
}, |
| 364 |
}</pre> |
| 365 |
</div> |
| 366 |
|
| 367 |
</body></html> |