Skip to content

Commit

Permalink
cleanup: Remove unused extra params from ShareRequestItem
Browse files Browse the repository at this point in the history
  • Loading branch information
metalurgical committed Jul 26, 2024
1 parent 7788752 commit 1648818
Showing 1 changed file with 10 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,34 +24,16 @@ internal struct ShareRequestParams: Codable {

// TODO: This is a bit of a mess from here due to legacy reasons and should be cleaned up in future.
// Note: Nil values by default are excluded from serialization
public var enable_verifier_id_hash: Bool? // most
public var app_s: String? // meta
public var app_id: String? // meta
public var domain: String? // farcaster
public var nonce: String? // farcaster
public var message: String? // farcaster
public var signature: String? // farcaster, passkey, webauthn
public var clientDataJson: String? // passkey, webauthn
public var authenticatorData: String? // passkey, webauthn
public var publicKey: String? // passkey, webauthn
public var challenge: String? // passkey, webauthn
public var rpOrigin: String? // passkey, webauthn
public var rpId: String? // passkey, webauthn
public var jwk_endpoint: String? // passkey, jwt
public var default_node_set: [String]? // passkey, jwt
public var jwt_verifier_id_field: String? // passkey, jwt
public var jwt_verifier_id_case_sensitive: Bool? // passkey, jwt
public var jwk_keys: String? // passkey, jwt
public var jwt_validation_fields: [String]? // passkey, jwt
public var jwt_validation_values: [String]? // passkey, jwt
public var index: Int? // demo
public var email: String? // demo
public var id: String? // test, jwt, passkey
public var correct_id_token: String? // test
public var verify_param: String? // OrAggregate
public var threshold: Int? // SingleID
public var pub_k_x: String? // Signature
public var pub_k_y: String? // Signature
var nonce: String? // farcaster
var message: String? // farcaster
var signature: String? // farcaster, passkey, webauthn
var clientDataJson: String? // passkey, webauthn
var authenticatorData: String? // passkey, webauthn
var publicKey: String? // passkey, webauthn
var challenge: String? // passkey, webauthn
var rpOrigin: String? // passkey, webauthn
var rpId: String? // passkey, webauthn
var timestamp: Int? // Signature
}

public var encrypted: String = "yes"
Expand Down

0 comments on commit 1648818

Please sign in to comment.