AuthShield v0.0.2 AuthShield.Credentials.Behaviour behaviour View Source
AuthShield Credentials behaviour.
Link to this section Summary
Link to this section Types
Credential schemas types
Transactional responses of failed
Transactional responses of success
Link to this section Callbacks
Link to this callback
delete(model)
View Sourcedelete(model :: credential()) :: success_response() | failed_response()
Link to this callback
delete!(model)
View Sourcedelete!(model :: credential()) :: credential() | no_return()
Link to this callback
get_by(filters)
View Sourceget_by(filters :: keyword()) :: credential() | nil
Link to this callback
get_by!(filters)
View Sourceget_by!(filters :: keyword()) :: credential() | no_return()
Link to this callback
insert(params)
View Sourceinsert(params :: map()) :: success_response() | failed_response()
Link to this callback
insert!(params)
View Sourceinsert!(params :: map()) :: credential() | no_return()