File: file.strategy.html

package info (click to toggle)
ruby-oauth2 2.0.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,608 kB
  • sloc: ruby: 5,441; javascript: 529; makefile: 4; sh: 4
file content (103 lines) | stat: -rw-r--r-- 2,867 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
  File: strategy
  
    &mdash; Documentation by YARD 0.9.37
  
</title>

  <link rel="stylesheet" href="css/style.css" type="text/css" />

  <link rel="stylesheet" href="css/common.css" type="text/css" />

<script type="text/javascript">
  pathId = "strategy";
  relpath = '';
</script>


  <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>

  <script type="text/javascript" charset="utf-8" src="js/app.js"></script>


  </head>
  <body>
    <div class="nav_wrap">
      <iframe id="nav" src="file_list.html?1"></iframe>
      <div id="resizer"></div>
    </div>

    <div id="main" tabindex="-1">
      <div id="header">
        <div id="menu">
  
    <a href="_index.html">Index</a> &raquo; 
    <span class="title">File: strategy</span>
  
</div>

        <div id="search">
  
    <a class="full_list_link" id="class_list_link"
        href="class_list.html">

        <svg width="24" height="24">
          <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
          <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
          <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
        </svg>
    </a>
  
</div>
        <div class="clear"></div>
      </div>

      <div id="content"><div id='filecontents'><p>module OAuth2<br>
  module Strategy<br>
    class Base<br>
      def initialize: (OAuth2::Client) -&gt; void<br>
    end</p>

<pre class="code ruby"><code class="ruby">class AuthCode &lt; Base
  def authorize_params: (?Hash[untyped, untyped]) -&gt; Hash[untyped, untyped]
  def authorize_url: (?Hash[untyped, untyped]) -&gt; String
  def get_token: (String, ?Hash[untyped, untyped], ?Hash[Symbol, untyped]) -&gt; OAuth2::AccessToken
end

class Implicit &lt; Base
  def authorize_params: (?Hash[untyped, untyped]) -&gt; Hash[untyped, untyped]
  def authorize_url: (?Hash[untyped, untyped]) -&gt; String
  def get_token: (*untyped) -&gt; void
end

class Password &lt; Base
  def authorize_url: () -&gt; void
  def get_token: (String, String, ?Hash[untyped, untyped], ?Hash[Symbol, untyped]) -&gt; OAuth2::AccessToken
end

class ClientCredentials &lt; Base
  def authorize_url: () -&gt; void
  def get_token: (?Hash[untyped, untyped], ?Hash[Symbol, untyped]) -&gt; OAuth2::AccessToken
end

class Assertion &lt; Base
  def authorize_url: () -&gt; void
  def get_token: (Hash[untyped, untyped], Hash[Symbol, untyped], ?Hash[Symbol, untyped], ?Hash[Symbol, untyped]) -&gt; OAuth2::AccessToken
end   end end
</code></pre>
</div></div>

      <div id="footer">
  Generated on Mon Sep 15 21:28:40 2025 by
  <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
  0.9.37 (ruby-3.4.5).
</div>

    </div>
  </body>
</html>