Tags: | web, network |
Authors: | Björn Lindqvist |
Class | Superclass | Slots |
oauth2 | tuple | auth-uri token-uri redirect-uri client-id client-secret scope extra-params |
tokens | tuple | access refresh expiry |
Word | Stack effect |
access-expired? | ( tokens -- ? ) |
assoc>expiry | ( json -- expiry ) |
assoc>tokens | ( json -- tokens ) |
auth-params | ( oauth2 -- params ) |
console-flow | ( oauth2 -- tokens/f ) |
console-prompt | ( query -- str/f ) |
oauth-http-get | ( url access-token -- response data ) |
oauth2>auth-uri | ( oauth2 -- uri ) |
refresh-flow | ( oauth2 tokens -- tokens' ) |
refresh-params | ( oauth2 refresh -- params ) |
tokens-params | ( oauth2 code -- params ) |
update-tokens | ( tokens1 tokens2 -- tokens1 ) |
Word | Stack effect |
oauth2? | ( object -- ? ) |
tokens? | ( object -- ? ) |