Variable AuthConst

Auth: {
    methods: {
        authenticate: {
            I: typeof Empty;
            O: typeof H160;
            kind: Unary;
            name: "Authenticate";
        };
        geofenced: {
            I: typeof Empty;
            O: typeof BoolValue;
            kind: Unary;
            name: "Geofenced";
        };
        nonce: {
            I: typeof Empty;
            O: typeof NonceText;
            kind: Unary;
            name: "Nonce";
        };
        session: {
            I: typeof Empty;
            O: typeof SiweSession;
            kind: Unary;
            name: "Session";
        };
        signOut: {
            I: typeof Empty;
            O: typeof Empty;
            kind: Unary;
            name: "SignOut";
        };
        verify: {
            I: typeof VerifyText;
            O: typeof H160;
            kind: Unary;
            name: "Verify";
        };
    };
    typeName: "valorem.trade.v1.Auth";
} = ...

Type declaration

  • Readonly methods: {
        authenticate: {
            I: typeof Empty;
            O: typeof H160;
            kind: Unary;
            name: "Authenticate";
        };
        geofenced: {
            I: typeof Empty;
            O: typeof BoolValue;
            kind: Unary;
            name: "Geofenced";
        };
        nonce: {
            I: typeof Empty;
            O: typeof NonceText;
            kind: Unary;
            name: "Nonce";
        };
        session: {
            I: typeof Empty;
            O: typeof SiweSession;
            kind: Unary;
            name: "Session";
        };
        signOut: {
            I: typeof Empty;
            O: typeof Empty;
            kind: Unary;
            name: "SignOut";
        };
        verify: {
            I: typeof VerifyText;
            O: typeof H160;
            kind: Unary;
            name: "Verify";
        };
    }
    • Readonly authenticate: {
          I: typeof Empty;
          O: typeof H160;
          kind: Unary;
          name: "Authenticate";
      }

      Used to check if a given connection is authenticated, returns the address which is authenticated for a nonce cookie

      Generated

      from rpc valorem.trade.v1.Auth.Authenticate

      • Readonly I: typeof Empty
      • Readonly O: typeof H160
      • Readonly kind: Unary
      • Readonly name: "Authenticate"
    • Readonly geofenced: {
          I: typeof Empty;
          O: typeof BoolValue;
          kind: Unary;
          name: "Geofenced";
      }

      Used to check if a given connection is geofenced. If access is restricted, returns true, otherwise false.

      Generated

      from rpc valorem.trade.v1.Auth.Geofenced

      • Readonly I: typeof Empty
      • Readonly O: typeof BoolValue
      • Readonly kind: Unary
      • Readonly name: "Geofenced"
    • Readonly nonce: {
          I: typeof Empty;
          O: typeof NonceText;
          kind: Unary;
          name: "Nonce";
      }

      Returns an EIP-4361 nonce for session and invalidates existing session

      Generated

      from rpc valorem.trade.v1.Auth.Nonce

    • Readonly session: {
          I: typeof Empty;
          O: typeof SiweSession;
          kind: Unary;
          name: "Session";
      }

      Returns the SIWE Session for the request's sessionId

      Generated

      from rpc valorem.trade.v1.Auth.Session

    • Readonly signOut: {
          I: typeof Empty;
          O: typeof Empty;
          kind: Unary;
          name: "SignOut";
      }

      Invalidates the session for the request's sessionId

      Generated

      from rpc valorem.trade.v1.Auth.SignOut

      • Readonly I: typeof Empty
      • Readonly O: typeof Empty
      • Readonly kind: Unary
      • Readonly name: "SignOut"
    • Readonly verify: {
          I: typeof VerifyText;
          O: typeof H160;
          kind: Unary;
          name: "Verify";
      }

      Verifies the SignedMessage is valid and returns the verified address

      Generated

      from rpc valorem.trade.v1.Auth.Verify

      • Readonly I: typeof VerifyText
      • Readonly O: typeof H160
      • Readonly kind: Unary
      • Readonly name: "Verify"
  • Readonly typeName: "valorem.trade.v1.Auth"

Generated

from service valorem.trade.v1.Auth

Generated using TypeDoc