(session-token->user-id token secret)
Extracts the user ID from a Rails session token. Returns a vector of:
[user-id nil] - if the user ID can be extracted [nil error-string] - if the user ID can not be extracted
Extracts the user ID from a Rails session token. Returns a vector of: [user-id nil] - if the user ID can be extracted [nil error-string] - if the user ID can not be extracted
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close