Function profileKeyInputToFindKeyInput

  • Find the Key input using the profile key input

    Type Parameters

    • T extends PermissionType<T>

    • K extends {
          publicKey: (() => PublicKey);
      }

    Parameters

    • profileKeyInput: ProfileKeyInput<T, K>

      the profile key input

    • validScopes: PublicKey[]

      the valid scopes of the profile key

    • requiredPermissions: T

      the requited permissions

    Returns FindKeyInput<T, K>

    KeyInput

Generated using TypeDoc