AuthSignature class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
buildAuthObject({required CacaoRequestPayload requestPayload, required CacaoSignature signature, required String iss})
→ Cacao
-
-
getAddressFromMessage(String message)
→ String
-
-
getChainIdFromMessage(String message)
→ String
-
-
getNormalizedV(int v)
→ int
-
-
hashMessage(String message)
→ Uint8List
-
-
isValidEip1271Signature(String address, String reconstructedMessage, String cacaoSignature, String chainId, String projectId)
→ Future<bool>
-
-
isValidEip191Signature(String address, String message, String sig)
→ bool
-
-
keccak256(Uint8List input)
→ Uint8List
-
-
populateAuthPayload({required SessionAuthPayload authPayload, required List<String> chains, required List<String> methods})
→ SessionAuthPayload
-
-
verifySignature(String address, String reconstructedMessage, CacaoSignature cacaoSignature, String chainId, String projectId)
→ Future<bool>
-