Package com.coreos.dex.api
Class DexGrpc.DexBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<DexGrpc.DexBlockingStub>
com.coreos.dex.api.DexGrpc.DexBlockingStub
- Enclosing class:
- DexGrpc
public static final class DexGrpc.DexBlockingStub
extends io.grpc.stub.AbstractBlockingStub<DexGrpc.DexBlockingStub>
A stub to allow clients to do synchronous 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.DexBlockingStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) CreateClient creates a client.CreatePassword creates a password.DeleteClient deletes the provided client.DeletePassword deletes the password.getClient
(DexOuterClass.GetClientReq request) GetClient gets a client.getVersion
(DexOuterClass.VersionReq request) GetVersion returns version information of the server.ListPassword lists all password entries.listRefresh
(DexOuterClass.ListRefreshReq request) ListRefresh lists all the refresh token entries for a particular user.RevokeRefresh revokes the refresh token for the provided user-client pair.UpdateClient updates an existing clientUpdatePassword modifies existing password.VerifyPassword returns whether a password matches a hash for a specific email or not.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.DexBlockingStub>
-
getClient
GetClient gets a client.
-
createClient
CreateClient creates a client.
-
updateClient
UpdateClient updates an existing client
-
deleteClient
DeleteClient deletes the provided client.
-
createPassword
CreatePassword creates a password.
-
updatePassword
UpdatePassword modifies existing password.
-
deletePassword
DeletePassword deletes the password.
-
listPasswords
ListPassword lists all password entries.
-
getVersion
GetVersion returns version information of the server.
-
listRefresh
ListRefresh lists all the refresh token entries for a particular user.
-
revokeRefresh
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
VerifyPassword returns whether a password matches a hash for a specific email or not.
-