/doc/modules/mod_oauth/m_oauth_app.html
https://code.google.com/p/zotonic/ · HTML · 119 lines · 99 code · 20 blank · 0 comment · 0 complexity · 0dd2a1292ce03487370b28a84507a165 MD5 · raw file
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <title>Module m_oauth_app</title>
- <link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
- </head>
- <body bgcolor="white">
- <div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
- <hr>
- <h1>Module m_oauth_app</h1>
- <ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>OAuth; application (server) store.
- <p>Copyright 2009 Arjan Scherpenisse
- Date: 2009-10-02</p>
- <p><b>Behaviours:</b> <a href="gen_model.html"><tt>gen_model</tt></a>.</p>
- <p><b>Authors:</b> Arjan Scherpenisse (<a href="mailto:arjan@scherpenisse.net"><tt>arjan@scherpenisse.net</tt></a>).</p>
- <h2><a name="description">Description</a></h2>OAuth; application (server) store.
- <h2><a name="index">Function Index</a></h2>
- <table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#authorize_request_token-3">authorize_request_token/3</a></td><td></td></tr>
- <tr><td valign="top"><a href="#check_nonce-5">check_nonce/5</a></td><td></td></tr>
- <tr><td valign="top"><a href="#consumer_lookup-2">consumer_lookup/2</a></td><td></td></tr>
- <tr><td valign="top"><a href="#consumer_tokens-2">consumer_tokens/2</a></td><td></td></tr>
- <tr><td valign="top"><a href="#create_consumer-5">create_consumer/5</a></td><td></td></tr>
- <tr><td valign="top"><a href="#delete_consumer-2">delete_consumer/2</a></td><td></td></tr>
- <tr><td valign="top"><a href="#exchange_request_for_access-2">exchange_request_for_access/2</a></td><td></td></tr>
- <tr><td valign="top"><a href="#get_consumer-2">get_consumer/2</a></td><td></td></tr>
- <tr><td valign="top"><a href="#get_request_token-2">get_request_token/2</a></td><td></td></tr>
- <tr><td valign="top"><a href="#m_find_value-3">m_find_value/3</a></td><td>Fetch the value for the key from a model source.</td></tr>
- <tr><td valign="top"><a href="#m_to_list-2">m_to_list/2</a></td><td>Transform a m_config value to a list, used for template loops.</td></tr>
- <tr><td valign="top"><a href="#m_value-2">m_value/2</a></td><td>Transform a model value so that it can be formatted or piped through filters.</td></tr>
- <tr><td valign="top"><a href="#request_token-2">request_token/2</a></td><td></td></tr>
- <tr><td valign="top"><a href="#secrets_for_verify-4">secrets_for_verify/4</a></td><td></td></tr>
- <tr><td valign="top"><a href="#update_consumer-3">update_consumer/3</a></td><td></td></tr>
- </table>
- <h2><a name="functions">Function Details</a></h2>
- <h3 class="function"><a name="authorize_request_token-3">authorize_request_token/3</a></h3>
- <div class="spec">
- <p><tt>authorize_request_token(Token, UserId, Context) -> any()</tt></p>
- </div>
- <h3 class="function"><a name="check_nonce-5">check_nonce/5</a></h3>
- <div class="spec">
- <p><tt>check_nonce(Consumer, Token, Timestamp, Nonce, Context) -> any()</tt></p>
- </div>
- <h3 class="function"><a name="consumer_lookup-2">consumer_lookup/2</a></h3>
- <div class="spec">
- <p><tt>consumer_lookup(Key, Context) -> any()</tt></p>
- </div>
- <h3 class="function"><a name="consumer_tokens-2">consumer_tokens/2</a></h3>
- <div class="spec">
- <p><tt>consumer_tokens(Id, Context) -> any()</tt></p>
- </div>
- <h3 class="function"><a name="create_consumer-5">create_consumer/5</a></h3>
- <div class="spec">
- <p><tt>create_consumer(Title, URL, Desc, Callback, Context) -> any()</tt></p>
- </div>
- <h3 class="function"><a name="delete_consumer-2">delete_consumer/2</a></h3>
- <div class="spec">
- <p><tt>delete_consumer(Id, Context) -> any()</tt></p>
- </div>
- <h3 class="function"><a name="exchange_request_for_access-2">exchange_request_for_access/2</a></h3>
- <div class="spec">
- <p><tt>exchange_request_for_access(Token, Context) -> any()</tt></p>
- </div>
- <h3 class="function"><a name="get_consumer-2">get_consumer/2</a></h3>
- <div class="spec">
- <p><tt>get_consumer(Id, Context) -> any()</tt></p>
- </div>
- <h3 class="function"><a name="get_request_token-2">get_request_token/2</a></h3>
- <div class="spec">
- <p><tt>get_request_token(Tok, Context) -> any()</tt></p>
- </div>
- <h3 class="function"><a name="m_find_value-3">m_find_value/3</a></h3>
- <div class="spec">
- <p><tt>m_find_value(Id::Key, M::Source, Context) -> term()</tt></p>
- </div><p>Fetch the value for the key from a model source</p>
- <h3 class="function"><a name="m_to_list-2">m_to_list/2</a></h3>
- <div class="spec">
- <p><tt>m_to_list(M::Source, Context) -> list()</tt></p>
- </div><p>Transform a m_config value to a list, used for template loops</p>
- <h3 class="function"><a name="m_value-2">m_value/2</a></h3>
- <div class="spec">
- <p><tt>m_value(M::Source, Context) -> term()</tt></p>
- </div><p>Transform a model value so that it can be formatted or piped through filters</p>
- <h3 class="function"><a name="request_token-2">request_token/2</a></h3>
- <div class="spec">
- <p><tt>request_token(Consumer, Context) -> any()</tt></p>
- </div>
- <h3 class="function"><a name="secrets_for_verify-4">secrets_for_verify/4</a></h3>
- <div class="spec">
- <p><tt>secrets_for_verify(Type, Consumer, Token, Context) -> any()</tt></p>
- </div>
- <h3 class="function"><a name="update_consumer-3">update_consumer/3</a></h3>
- <div class="spec">
- <p><tt>update_consumer(Id, Update, Context) -> any()</tt></p>
- </div>
- <hr>
- <div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
- <p><i>Generated by EDoc, Aug 12 2011, 19:36:12.</i></p>
- </body>
- </html>