Package com.daml.ledger.api.v1.admin
Class IdentityProviderConfigServiceGrpc.IdentityProviderConfigServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<IdentityProviderConfigServiceGrpc.IdentityProviderConfigServiceFutureStub>
-
- com.daml.ledger.api.v1.admin.IdentityProviderConfigServiceGrpc.IdentityProviderConfigServiceFutureStub
-
- Enclosing class:
- IdentityProviderConfigServiceGrpc
public static final class IdentityProviderConfigServiceGrpc.IdentityProviderConfigServiceFutureStub extends io.grpc.stub.AbstractFutureStub<IdentityProviderConfigServiceGrpc.IdentityProviderConfigServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service IdentityProviderConfigService.Identity Provider Config Service makes it possible for participant node administrators to setup and manage additional identity providers at runtime. This allows using access tokens from identity providers unknown at deployment time. When an identity provider is configured, independent IDP administrators can manage their own set of parties and users. Such parties and users have a matching `identity_provider_id` defined and are inaccessible to administrators from other identity providers. A user will only be authenticated if the corresponding JWT token is issued by the appropriate identity provider. Users and parties without `identity_provider_id` defined are assumed to be using the default identity provider, which is configured statically at the participant node's deployment time. The Ledger API uses the "iss" claim of a JWT token to match the token to a specific IDP. If there is no match, the default IDP is assumed. The fields of request messages (and sub-messages) are marked either as ``Optional`` or ``Required``: (1) ``Optional`` denoting the client may leave the field unset when sending a request. (2) ``Required`` denoting the client must set the field to a non-default value when sending a request. An identity provider config resource is described by the ``IdentityProviderConfig`` message, An identity provider config resource, once it has been created, can be modified. In order to update the properties represented by the ``IdentityProviderConfig`` message use the ``UpdateIdentityProviderConfig`` RPC. The only fields that can be modified are those marked as ``Modifiable``.
-
-
Method Summary
-
-
-
Method Detail
-
build
protected IdentityProviderConfigServiceGrpc.IdentityProviderConfigServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<IdentityProviderConfigServiceGrpc.IdentityProviderConfigServiceFutureStub>
-
createIdentityProviderConfig
public com.google.common.util.concurrent.ListenableFuture<IdentityProviderConfigServiceOuterClass.CreateIdentityProviderConfigResponse> createIdentityProviderConfig(IdentityProviderConfigServiceOuterClass.CreateIdentityProviderConfigRequest request)
Create a new identity provider configuration. The request will fail if the maximum allowed number of separate configurations is reached.
-
getIdentityProviderConfig
public com.google.common.util.concurrent.ListenableFuture<IdentityProviderConfigServiceOuterClass.GetIdentityProviderConfigResponse> getIdentityProviderConfig(IdentityProviderConfigServiceOuterClass.GetIdentityProviderConfigRequest request)
Get the identity provider configuration data by id.
-
updateIdentityProviderConfig
public com.google.common.util.concurrent.ListenableFuture<IdentityProviderConfigServiceOuterClass.UpdateIdentityProviderConfigResponse> updateIdentityProviderConfig(IdentityProviderConfigServiceOuterClass.UpdateIdentityProviderConfigRequest request)
Update selected modifiable attribute of an identity provider config resource described by the ``IdentityProviderConfig`` message.
-
listIdentityProviderConfigs
public com.google.common.util.concurrent.ListenableFuture<IdentityProviderConfigServiceOuterClass.ListIdentityProviderConfigsResponse> listIdentityProviderConfigs(IdentityProviderConfigServiceOuterClass.ListIdentityProviderConfigsRequest request)
List all existing identity provider configurations.
-
deleteIdentityProviderConfig
public com.google.common.util.concurrent.ListenableFuture<IdentityProviderConfigServiceOuterClass.DeleteIdentityProviderConfigResponse> deleteIdentityProviderConfig(IdentityProviderConfigServiceOuterClass.DeleteIdentityProviderConfigRequest request)
Delete an existing identity provider configuration.
-
-