Authentication
Defines:
public struct AuthenticationConfig has key {
id: UID,
authentication_soul: Option<TypeName>
}
Assert Authentication
The assert_authentication
function has these effects:
Throws error (370 - ENotAuthenticated) if the Soul does not match the type in the AuthenticationConfig, or there is no configured Soul Type
Update Soul
The update_soul
function has these effects:
Sets the AuthenticationConfig to the Soul Type
Verify Authentication
The verify_authentication
function has these effects:
Returns boolean based on if the Soul matches the type in the AuthenticationConfig, or there is no configured Soul Type
Last updated