Identity Toolkit API . projects . tenants . defaultSupportedIdpConfigs

Instance Methods

close()

Close httplib2 connections.

create(parent, body=None, idpId=None, x__xgafv=None)

Create a default supported Idp configuration for an Identity Toolkit project.

delete(name, x__xgafv=None)

Delete a default supported Idp configuration for an Identity Toolkit project.

get(name, x__xgafv=None)

Retrieve a default supported Idp configuration for an Identity Toolkit project.

list(parent, pageSize=None, pageToken=None, x__xgafv=None)

List all default supported Idp configurations for an Identity Toolkit project.

list_next()

Retrieves the next page of results.

patch(name, body=None, updateMask=None, x__xgafv=None)

Update a default supported Idp configuration for an Identity Toolkit project.

Method Details

close()
Close httplib2 connections.
create(parent, body=None, idpId=None, x__xgafv=None)
Create a default supported Idp configuration for an Identity Toolkit project.

Args:
  parent: string, The parent resource name where the config to be created, for example: "projects/my-awesome-project" (required)
  body: object, The request body.
    The object takes the form of:

{ # Configurations options for authenticating with a the standard set of Identity Toolkit-trusted IDPs.
  "appleSignInConfig": { # Additional config for SignInWithApple. # Additional config for Apple-based projects.
    "bundleIds": [ # A list of Bundle ID's usable by this project
      "A String",
    ],
    "codeFlowConfig": { # Additional config for Apple for code flow. # Additional config for Apple for code flow.
      "keyId": "A String", # Key ID for the private key.
      "privateKey": "A String", # Private key used for signing the client secret JWT.
      "teamId": "A String", # Apple Developer Team ID.
    },
  },
  "clientId": "A String", # OAuth client ID.
  "clientSecret": "A String", # OAuth client secret.
  "enabled": True or False, # True if allows the user to sign in with the provider.
  "name": "A String", # The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com"
}

  idpId: string, The id of the Idp to create a config for. Call ListDefaultSupportedIdps for list of all default supported Idps.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Configurations options for authenticating with a the standard set of Identity Toolkit-trusted IDPs.
  "appleSignInConfig": { # Additional config for SignInWithApple. # Additional config for Apple-based projects.
    "bundleIds": [ # A list of Bundle ID's usable by this project
      "A String",
    ],
    "codeFlowConfig": { # Additional config for Apple for code flow. # Additional config for Apple for code flow.
      "keyId": "A String", # Key ID for the private key.
      "privateKey": "A String", # Private key used for signing the client secret JWT.
      "teamId": "A String", # Apple Developer Team ID.
    },
  },
  "clientId": "A String", # OAuth client ID.
  "clientSecret": "A String", # OAuth client secret.
  "enabled": True or False, # True if allows the user to sign in with the provider.
  "name": "A String", # The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com"
}
delete(name, x__xgafv=None)
Delete a default supported Idp configuration for an Identity Toolkit project.

Args:
  name: string, The resource name of the config, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com" (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # 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); }
}
get(name, x__xgafv=None)
Retrieve a default supported Idp configuration for an Identity Toolkit project.

Args:
  name: string, The resource name of the config, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com" (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Configurations options for authenticating with a the standard set of Identity Toolkit-trusted IDPs.
  "appleSignInConfig": { # Additional config for SignInWithApple. # Additional config for Apple-based projects.
    "bundleIds": [ # A list of Bundle ID's usable by this project
      "A String",
    ],
    "codeFlowConfig": { # Additional config for Apple for code flow. # Additional config for Apple for code flow.
      "keyId": "A String", # Key ID for the private key.
      "privateKey": "A String", # Private key used for signing the client secret JWT.
      "teamId": "A String", # Apple Developer Team ID.
    },
  },
  "clientId": "A String", # OAuth client ID.
  "clientSecret": "A String", # OAuth client secret.
  "enabled": True or False, # True if allows the user to sign in with the provider.
  "name": "A String", # The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com"
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List all default supported Idp configurations for an Identity Toolkit project.

Args:
  parent: string, The parent resource name, for example, "projects/my-awesome-project". (required)
  pageSize: integer, The maximum number of items to return.
  pageToken: string, The next_page_token value returned from a previous List request, if any.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response for DefaultSupportedIdpConfigs
  "defaultSupportedIdpConfigs": [ # The set of configs.
    { # Configurations options for authenticating with a the standard set of Identity Toolkit-trusted IDPs.
      "appleSignInConfig": { # Additional config for SignInWithApple. # Additional config for Apple-based projects.
        "bundleIds": [ # A list of Bundle ID's usable by this project
          "A String",
        ],
        "codeFlowConfig": { # Additional config for Apple for code flow. # Additional config for Apple for code flow.
          "keyId": "A String", # Key ID for the private key.
          "privateKey": "A String", # Private key used for signing the client secret JWT.
          "teamId": "A String", # Apple Developer Team ID.
        },
      },
      "clientId": "A String", # OAuth client ID.
      "clientSecret": "A String", # OAuth client secret.
      "enabled": True or False, # True if allows the user to sign in with the provider.
      "name": "A String", # The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com"
    },
  ],
  "nextPageToken": "A String", # Token to retrieve the next page of results, or empty if there are no more results in the list.
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.
        
patch(name, body=None, updateMask=None, x__xgafv=None)
Update a default supported Idp configuration for an Identity Toolkit project.

Args:
  name: string, The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com" (required)
  body: object, The request body.
    The object takes the form of:

{ # Configurations options for authenticating with a the standard set of Identity Toolkit-trusted IDPs.
  "appleSignInConfig": { # Additional config for SignInWithApple. # Additional config for Apple-based projects.
    "bundleIds": [ # A list of Bundle ID's usable by this project
      "A String",
    ],
    "codeFlowConfig": { # Additional config for Apple for code flow. # Additional config for Apple for code flow.
      "keyId": "A String", # Key ID for the private key.
      "privateKey": "A String", # Private key used for signing the client secret JWT.
      "teamId": "A String", # Apple Developer Team ID.
    },
  },
  "clientId": "A String", # OAuth client ID.
  "clientSecret": "A String", # OAuth client secret.
  "enabled": True or False, # True if allows the user to sign in with the provider.
  "name": "A String", # The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com"
}

  updateMask: string, The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Configurations options for authenticating with a the standard set of Identity Toolkit-trusted IDPs.
  "appleSignInConfig": { # Additional config for SignInWithApple. # Additional config for Apple-based projects.
    "bundleIds": [ # A list of Bundle ID's usable by this project
      "A String",
    ],
    "codeFlowConfig": { # Additional config for Apple for code flow. # Additional config for Apple for code flow.
      "keyId": "A String", # Key ID for the private key.
      "privateKey": "A String", # Private key used for signing the client secret JWT.
      "teamId": "A String", # Apple Developer Team ID.
    },
  },
  "clientId": "A String", # OAuth client ID.
  "clientSecret": "A String", # OAuth client secret.
  "enabled": True or False, # True if allows the user to sign in with the provider.
  "name": "A String", # The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com"
}