Package com.coreos.dex.api
Interface DexGrpc.AsyncService
- All Known Implementing Classes:
DexGrpc.DexImplBase
- Enclosing class:
- DexGrpc
public static interface DexGrpc.AsyncService
Dex represents the dex gRPC service.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
createClient
(DexOuterClass.CreateClientReq request, io.grpc.stub.StreamObserver<DexOuterClass.CreateClientResp> responseObserver) CreateClient creates a client.default void
createPassword
(DexOuterClass.CreatePasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.CreatePasswordResp> responseObserver) CreatePassword creates a password.default void
deleteClient
(DexOuterClass.DeleteClientReq request, io.grpc.stub.StreamObserver<DexOuterClass.DeleteClientResp> responseObserver) DeleteClient deletes the provided client.default void
deletePassword
(DexOuterClass.DeletePasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.DeletePasswordResp> responseObserver) DeletePassword deletes the password.default void
getClient
(DexOuterClass.GetClientReq request, io.grpc.stub.StreamObserver<DexOuterClass.GetClientResp> responseObserver) GetClient gets a client.default void
getVersion
(DexOuterClass.VersionReq request, io.grpc.stub.StreamObserver<DexOuterClass.VersionResp> responseObserver) GetVersion returns version information of the server.default void
listPasswords
(DexOuterClass.ListPasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.ListPasswordResp> responseObserver) ListPassword lists all password entries.default void
listRefresh
(DexOuterClass.ListRefreshReq request, io.grpc.stub.StreamObserver<DexOuterClass.ListRefreshResp> responseObserver) ListRefresh lists all the refresh token entries for a particular user.default void
revokeRefresh
(DexOuterClass.RevokeRefreshReq request, io.grpc.stub.StreamObserver<DexOuterClass.RevokeRefreshResp> responseObserver) RevokeRefresh revokes the refresh token for the provided user-client pair.default void
updateClient
(DexOuterClass.UpdateClientReq request, io.grpc.stub.StreamObserver<DexOuterClass.UpdateClientResp> responseObserver) UpdateClient updates an existing clientdefault void
updatePassword
(DexOuterClass.UpdatePasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.UpdatePasswordResp> responseObserver) UpdatePassword modifies existing password.default 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.
-
Method Details
-
getClient
default void getClient(DexOuterClass.GetClientReq request, io.grpc.stub.StreamObserver<DexOuterClass.GetClientResp> responseObserver) GetClient gets a client.
-
createClient
default void createClient(DexOuterClass.CreateClientReq request, io.grpc.stub.StreamObserver<DexOuterClass.CreateClientResp> responseObserver) CreateClient creates a client.
-
updateClient
default void updateClient(DexOuterClass.UpdateClientReq request, io.grpc.stub.StreamObserver<DexOuterClass.UpdateClientResp> responseObserver) UpdateClient updates an existing client
-
deleteClient
default void deleteClient(DexOuterClass.DeleteClientReq request, io.grpc.stub.StreamObserver<DexOuterClass.DeleteClientResp> responseObserver) DeleteClient deletes the provided client.
-
createPassword
default void createPassword(DexOuterClass.CreatePasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.CreatePasswordResp> responseObserver) CreatePassword creates a password.
-
updatePassword
default void updatePassword(DexOuterClass.UpdatePasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.UpdatePasswordResp> responseObserver) UpdatePassword modifies existing password.
-
deletePassword
default void deletePassword(DexOuterClass.DeletePasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.DeletePasswordResp> responseObserver) DeletePassword deletes the password.
-
listPasswords
default void listPasswords(DexOuterClass.ListPasswordReq request, io.grpc.stub.StreamObserver<DexOuterClass.ListPasswordResp> responseObserver) ListPassword lists all password entries.
-
getVersion
default void getVersion(DexOuterClass.VersionReq request, io.grpc.stub.StreamObserver<DexOuterClass.VersionResp> responseObserver) GetVersion returns version information of the server.
-
listRefresh
default void listRefresh(DexOuterClass.ListRefreshReq request, io.grpc.stub.StreamObserver<DexOuterClass.ListRefreshResp> responseObserver) ListRefresh lists all the refresh token entries for a particular user.
-
revokeRefresh
default 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
default 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.
-