Package com.coreos.dex.api
Class DexGrpc.DexBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<DexGrpc.DexBlockingV2Stub>
com.coreos.dex.api.DexGrpc.DexBlockingV2Stub
- Enclosing class:
- DexGrpc
public static final class DexGrpc.DexBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<DexGrpc.DexBlockingV2Stub>
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.DexBlockingV2Stubbuild(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, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
buildin classio.grpc.stub.AbstractStub<DexGrpc.DexBlockingV2Stub>
-
getClient
public DexOuterClass.GetClientResp getClient(DexOuterClass.GetClientReq request) throws io.grpc.StatusException GetClient gets a client.
- Throws:
io.grpc.StatusException
-
createClient
public DexOuterClass.CreateClientResp createClient(DexOuterClass.CreateClientReq request) throws io.grpc.StatusException CreateClient creates a client.
- Throws:
io.grpc.StatusException
-
updateClient
public DexOuterClass.UpdateClientResp updateClient(DexOuterClass.UpdateClientReq request) throws io.grpc.StatusException UpdateClient updates an existing client
- Throws:
io.grpc.StatusException
-
deleteClient
public DexOuterClass.DeleteClientResp deleteClient(DexOuterClass.DeleteClientReq request) throws io.grpc.StatusException DeleteClient deletes the provided client.
- Throws:
io.grpc.StatusException
-
createPassword
public DexOuterClass.CreatePasswordResp createPassword(DexOuterClass.CreatePasswordReq request) throws io.grpc.StatusException CreatePassword creates a password.
- Throws:
io.grpc.StatusException
-
updatePassword
public DexOuterClass.UpdatePasswordResp updatePassword(DexOuterClass.UpdatePasswordReq request) throws io.grpc.StatusException UpdatePassword modifies existing password.
- Throws:
io.grpc.StatusException
-
deletePassword
public DexOuterClass.DeletePasswordResp deletePassword(DexOuterClass.DeletePasswordReq request) throws io.grpc.StatusException DeletePassword deletes the password.
- Throws:
io.grpc.StatusException
-
listPasswords
public DexOuterClass.ListPasswordResp listPasswords(DexOuterClass.ListPasswordReq request) throws io.grpc.StatusException ListPassword lists all password entries.
- Throws:
io.grpc.StatusException
-
getVersion
public DexOuterClass.VersionResp getVersion(DexOuterClass.VersionReq request) throws io.grpc.StatusException GetVersion returns version information of the server.
- Throws:
io.grpc.StatusException
-
listRefresh
public DexOuterClass.ListRefreshResp listRefresh(DexOuterClass.ListRefreshReq request) throws io.grpc.StatusException ListRefresh lists all the refresh token entries for a particular user.
- Throws:
io.grpc.StatusException
-
revokeRefresh
public DexOuterClass.RevokeRefreshResp revokeRefresh(DexOuterClass.RevokeRefreshReq request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
verifyPassword
public DexOuterClass.VerifyPasswordResp verifyPassword(DexOuterClass.VerifyPasswordReq request) throws io.grpc.StatusException VerifyPassword returns whether a password matches a hash for a specific email or not.
- Throws:
io.grpc.StatusException
-