Liking cljdoc? Tell your friends :D

com.unbounce.treajure.rails


session-token->user-idclj

(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
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close