CrossClj

0.1.6 docs

SourceDocs



RECENT
    VARS
    ->MemStore
    IUserStore
    map->MemStore
    new-mem-store

    « Index of all namespaces of this project

    (->MemStore banned-usernames users confirmation-tokens reset-tokens)
    Positional factory function for class com.beardandcode.users.store.MemStore.
    
    protocol
    (authenticate _ username password)
    Authenticate a user and return the stored data
    
    (confirm! _ token)
    Confirm a user based on a token created when they registered
    
    (confirmation-token! _ user)
    Creates a confirmation token for the given user
    
    (confirmed? _ user)
    Returns whether a user has been confirmed
    
    (delete! _ user)
    (find-user-by-email-address _ email-address)
    Find a user based on their email address
    
    (find-user-by-username _ username)
    Find a user based on their username
    
    (register! _ username email-address password name)
    Registers a user and returns the stored data and a confirmation token
    
    (reset-password! _ token password)
    Reset a password based on a token from requesting to reset
    
    (reset-password-token! _ user)
    Creates a reset password token for the user with the given email address
    
    (valid-reset-token? _ token)
    Return whether a reset token is valid
    
    (map->MemStore m__7585__auto__)
    Factory function for class com.beardandcode.users.store.MemStore, taking a map of keywords to field values.
    
    (new-mem-store)(new-mem-store banned-usernames)(new-mem-store users banned-usernames)