Package com.daml.ledger.api.v1.admin
Class IdentityProviderConfigServiceGrpc.IdentityProviderConfigServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<IdentityProviderConfigServiceGrpc.IdentityProviderConfigServiceStub>
-
- com.daml.ledger.api.v1.admin.IdentityProviderConfigServiceGrpc.IdentityProviderConfigServiceStub
-
- Enclosing class:
- IdentityProviderConfigServiceGrpc
public static final class IdentityProviderConfigServiceGrpc.IdentityProviderConfigServiceStub extends io.grpc.stub.AbstractAsyncStub<IdentityProviderConfigServiceGrpc.IdentityProviderConfigServiceStub>
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.IdentityProviderConfigServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<IdentityProviderConfigServiceGrpc.IdentityProviderConfigServiceStub>
-
createIdentityProviderConfig
public void createIdentityProviderConfig(IdentityProviderConfigServiceOuterClass.CreateIdentityProviderConfigRequest request, io.grpc.stub.StreamObserver<IdentityProviderConfigServiceOuterClass.CreateIdentityProviderConfigResponse> responseObserver)
Create a new identity provider configuration. The request will fail if the maximum allowed number of separate configurations is reached.
-
getIdentityProviderConfig
public void getIdentityProviderConfig(IdentityProviderConfigServiceOuterClass.GetIdentityProviderConfigRequest request, io.grpc.stub.StreamObserver<IdentityProviderConfigServiceOuterClass.GetIdentityProviderConfigResponse> responseObserver)
Get the identity provider configuration data by id.
-
updateIdentityProviderConfig
public void updateIdentityProviderConfig(IdentityProviderConfigServiceOuterClass.UpdateIdentityProviderConfigRequest request, io.grpc.stub.StreamObserver<IdentityProviderConfigServiceOuterClass.UpdateIdentityProviderConfigResponse> responseObserver)
Update selected modifiable attribute of an identity provider config resource described by the ``IdentityProviderConfig`` message.
-
listIdentityProviderConfigs
public void listIdentityProviderConfigs(IdentityProviderConfigServiceOuterClass.ListIdentityProviderConfigsRequest request, io.grpc.stub.StreamObserver<IdentityProviderConfigServiceOuterClass.ListIdentityProviderConfigsResponse> responseObserver)
List all existing identity provider configurations.
-
deleteIdentityProviderConfig
public void deleteIdentityProviderConfig(IdentityProviderConfigServiceOuterClass.DeleteIdentityProviderConfigRequest request, io.grpc.stub.StreamObserver<IdentityProviderConfigServiceOuterClass.DeleteIdentityProviderConfigResponse> responseObserver)
Delete an existing identity provider configuration.
-
-