Class UnauthenticatedClient


  • public final class UnauthenticatedClient
    extends io.token.rpc.UnauthenticatedClient
    Similar to BankClient but is only used for a handful of requests that don't require authentication. We use this client to create new member or getMember an existing one and switch to the authenticatedBank BankClient.
    • Field Summary

      • Fields inherited from class io.token.rpc.UnauthenticatedClient

        gateway
    • Constructor Summary

      Constructors 
      Constructor Description
      UnauthenticatedClient​(io.token.proto.gateway.GatewayServiceGrpc.GatewayServiceFutureStub gateway)
      Creates an instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.reactivex.Observable<io.token.proto.common.token.TokenProtos.TokenRequest> retrieveTokenRequest​(java.lang.String requestId)
      Retrieves a token request.
      • Methods inherited from class io.token.rpc.UnauthenticatedClient

        beginRecovery, completeRecovery, completeRecoveryWithDefaultRule, createMember, createMemberId, createRecoveryAuthorization, getBanks, getBanks, getCountries, getDefaultAgent, getMemberId, getRecoveryAuthorization, resolveAlias
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnauthenticatedClient

        public UnauthenticatedClient​(io.token.proto.gateway.GatewayServiceGrpc.GatewayServiceFutureStub gateway)
        Creates an instance.
        Parameters:
        gateway - gateway gRPC stub
    • Method Detail

      • retrieveTokenRequest

        public io.reactivex.Observable<io.token.proto.common.token.TokenProtos.TokenRequest> retrieveTokenRequest​(java.lang.String requestId)
        Retrieves a token request.
        Parameters:
        requestId - request id
        Returns:
        token request that was stored with the request id