Package com.coreos.dex.api
Class DexGrpc.DexStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<DexGrpc.DexStub>
com.coreos.dex.api.DexGrpc.DexStub
- Enclosing class:
- DexGrpc
A stub to allow clients to do asynchronous rpc calls to service Dex.
Dex represents the dex gRPC service.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionprotected DexGrpc.DexStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
createClient
(DexOuterClass.CreateClientReq request, io.grpc.stub.StreamObserver<DexOuterClass.CreateClientResp> responseObserver) CreateClient creates a client.void
createPassword
(DexOuterClass.CreatePasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.CreatePasswordResp> responseObserver) CreatePassword creates a password.void
deleteClient
(DexOuterClass.DeleteClientReq request, io.grpc.stub.StreamObserver<DexOuterClass.DeleteClientResp> responseObserver) DeleteClient deletes the provided client.void
deletePassword
(DexOuterClass.DeletePasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.DeletePasswordResp> responseObserver) DeletePassword deletes the password.void
getClient
(DexOuterClass.GetClientReq request, io.grpc.stub.StreamObserver<DexOuterClass.GetClientResp> responseObserver) GetClient gets a client.void
getVersion
(DexOuterClass.VersionReq request, io.grpc.stub.StreamObserver<DexOuterClass.VersionResp> responseObserver) GetVersion returns version information of the server.void
listPasswords
(DexOuterClass.ListPasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.ListPasswordResp> responseObserver) ListPassword lists all password entries.void
listRefresh
(DexOuterClass.ListRefreshReq request, io.grpc.stub.StreamObserver<DexOuterClass.ListRefreshResp> responseObserver) ListRefresh lists all the refresh token entries for a particular user.void
revokeRefresh
(DexOuterClass.RevokeRefreshReq request, io.grpc.stub.StreamObserver<DexOuterClass.RevokeRefreshResp> responseObserver) RevokeRefresh revokes the refresh token for the provided user-client pair.void
updateClient
(DexOuterClass.UpdateClientReq request, io.grpc.stub.StreamObserver<DexOuterClass.UpdateClientResp> responseObserver) UpdateClient updates an existing clientvoid
updatePassword
(DexOuterClass.UpdatePasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.UpdatePasswordResp> responseObserver) UpdatePassword modifies existing password.void
verifyPassword
(DexOuterClass.VerifyPasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.VerifyPasswordResp> responseObserver) VerifyPassword returns whether a password matches a hash for a specific email or not.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
build
in classio.grpc.stub.AbstractStub<DexGrpc.DexStub>
-
getClient
public void getClient(DexOuterClass.GetClientReq request, io.grpc.stub.StreamObserver<DexOuterClass.GetClientResp> responseObserver) GetClient gets a client.
-
createClient
public void createClient(DexOuterClass.CreateClientReq request, io.grpc.stub.StreamObserver<DexOuterClass.CreateClientResp> responseObserver) CreateClient creates a client.
-
updateClient
public void updateClient(DexOuterClass.UpdateClientReq request, io.grpc.stub.StreamObserver<DexOuterClass.UpdateClientResp> responseObserver) UpdateClient updates an existing client
-
deleteClient
public void deleteClient(DexOuterClass.DeleteClientReq request, io.grpc.stub.StreamObserver<DexOuterClass.DeleteClientResp> responseObserver) DeleteClient deletes the provided client.
-
createPassword
public void createPassword(DexOuterClass.CreatePasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.CreatePasswordResp> responseObserver) CreatePassword creates a password.
-
updatePassword
public void updatePassword(DexOuterClass.UpdatePasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.UpdatePasswordResp> responseObserver) UpdatePassword modifies existing password.
-
deletePassword
public void deletePassword(DexOuterClass.DeletePasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.DeletePasswordResp> responseObserver) DeletePassword deletes the password.
-
listPasswords
public void listPasswords(DexOuterClass.ListPasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.ListPasswordResp> responseObserver) ListPassword lists all password entries.
-
getVersion
public void getVersion(DexOuterClass.VersionReq request, io.grpc.stub.StreamObserver<DexOuterClass.VersionResp> responseObserver) GetVersion returns version information of the server.
-
listRefresh
public void listRefresh(DexOuterClass.ListRefreshReq request, io.grpc.stub.StreamObserver<DexOuterClass.ListRefreshResp> responseObserver) ListRefresh lists all the refresh token entries for a particular user.
-
revokeRefresh
public void revokeRefresh(DexOuterClass.RevokeRefreshReq request, io.grpc.stub.StreamObserver<DexOuterClass.RevokeRefreshResp> responseObserver) RevokeRefresh revokes the refresh token for the provided user-client pair. Note that each user-client pair can have only one refresh token at a time.
-
verifyPassword
public void verifyPassword(DexOuterClass.VerifyPasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.VerifyPasswordResp> responseObserver) VerifyPassword returns whether a password matches a hash for a specific email or not.
-