Package com.coreos.dex.api
Class DexGrpc.DexFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<DexGrpc.DexFutureStub>
com.coreos.dex.api.DexGrpc.DexFutureStub
- Enclosing class:
- DexGrpc
public static final class DexGrpc.DexFutureStub
extends io.grpc.stub.AbstractFutureStub<DexGrpc.DexFutureStub>
A stub to allow clients to do ListenableFuture-style 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.DexFutureStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<DexOuterClass.CreateClientResp>
CreateClient creates a client.com.google.common.util.concurrent.ListenableFuture<DexOuterClass.CreatePasswordResp>
CreatePassword creates a password.com.google.common.util.concurrent.ListenableFuture<DexOuterClass.DeleteClientResp>
DeleteClient deletes the provided client.com.google.common.util.concurrent.ListenableFuture<DexOuterClass.DeletePasswordResp>
DeletePassword deletes the password.com.google.common.util.concurrent.ListenableFuture<DexOuterClass.GetClientResp>
getClient
(DexOuterClass.GetClientReq request) GetClient gets a client.com.google.common.util.concurrent.ListenableFuture<DexOuterClass.VersionResp>
getVersion
(DexOuterClass.VersionReq request) GetVersion returns version information of the server.com.google.common.util.concurrent.ListenableFuture<DexOuterClass.ListPasswordResp>
ListPassword lists all password entries.com.google.common.util.concurrent.ListenableFuture<DexOuterClass.ListRefreshResp>
listRefresh
(DexOuterClass.ListRefreshReq request) ListRefresh lists all the refresh token entries for a particular user.com.google.common.util.concurrent.ListenableFuture<DexOuterClass.RevokeRefreshResp>
RevokeRefresh revokes the refresh token for the provided user-client pair.com.google.common.util.concurrent.ListenableFuture<DexOuterClass.UpdateClientResp>
UpdateClient updates an existing clientcom.google.common.util.concurrent.ListenableFuture<DexOuterClass.UpdatePasswordResp>
UpdatePassword modifies existing password.com.google.common.util.concurrent.ListenableFuture<DexOuterClass.VerifyPasswordResp>
VerifyPassword returns whether a password matches a hash for a specific email or not.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.DexFutureStub>
-
getClient
public com.google.common.util.concurrent.ListenableFuture<DexOuterClass.GetClientResp> getClient(DexOuterClass.GetClientReq request) GetClient gets a client.
-
createClient
public com.google.common.util.concurrent.ListenableFuture<DexOuterClass.CreateClientResp> createClient(DexOuterClass.CreateClientReq request) CreateClient creates a client.
-
updateClient
public com.google.common.util.concurrent.ListenableFuture<DexOuterClass.UpdateClientResp> updateClient(DexOuterClass.UpdateClientReq request) UpdateClient updates an existing client
-
deleteClient
public com.google.common.util.concurrent.ListenableFuture<DexOuterClass.DeleteClientResp> deleteClient(DexOuterClass.DeleteClientReq request) DeleteClient deletes the provided client.
-
createPassword
public com.google.common.util.concurrent.ListenableFuture<DexOuterClass.CreatePasswordResp> createPassword(DexOuterClass.CreatePasswordReq request) CreatePassword creates a password.
-
updatePassword
public com.google.common.util.concurrent.ListenableFuture<DexOuterClass.UpdatePasswordResp> updatePassword(DexOuterClass.UpdatePasswordReq request) UpdatePassword modifies existing password.
-
deletePassword
public com.google.common.util.concurrent.ListenableFuture<DexOuterClass.DeletePasswordResp> deletePassword(DexOuterClass.DeletePasswordReq request) DeletePassword deletes the password.
-
listPasswords
public com.google.common.util.concurrent.ListenableFuture<DexOuterClass.ListPasswordResp> listPasswords(DexOuterClass.ListPasswordReq request) ListPassword lists all password entries.
-
getVersion
public com.google.common.util.concurrent.ListenableFuture<DexOuterClass.VersionResp> getVersion(DexOuterClass.VersionReq request) GetVersion returns version information of the server.
-
listRefresh
public com.google.common.util.concurrent.ListenableFuture<DexOuterClass.ListRefreshResp> listRefresh(DexOuterClass.ListRefreshReq request) ListRefresh lists all the refresh token entries for a particular user.
-
revokeRefresh
public com.google.common.util.concurrent.ListenableFuture<DexOuterClass.RevokeRefreshResp> revokeRefresh(DexOuterClass.RevokeRefreshReq request) 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 com.google.common.util.concurrent.ListenableFuture<DexOuterClass.VerifyPasswordResp> verifyPassword(DexOuterClass.VerifyPasswordReq request) VerifyPassword returns whether a password matches a hash for a specific email or not.
-