|
2 | 2 | pub tokens: <a class="struct" href="https://doc.rust-lang.org/1.90.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="struct.TokenInput.html" title="struct cedarling::TokenInput">TokenInput</a>>, |
3 | 3 | pub resource: <a class="struct" href="struct.EntityData.html" title="struct cedarling::EntityData">EntityData</a>, |
4 | 4 | pub action: <a class="struct" href="https://doc.rust-lang.org/1.90.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, |
5 | | - pub context: <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://docs.rs/serde_json/1.0.147/serde_json/value/enum.Value.html" title="enum serde_json::value::Value">Value</a>>, |
| 5 | + pub context: <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://docs.rs/serde_json/1.0.148/serde_json/value/enum.Value.html" title="enum serde_json::value::Value">Value</a>>, |
6 | 6 | }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Multi-issuer authorization request</p> |
7 | 7 | </div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.tokens" class="structfield section-header"><a href="#structfield.tokens" class="anchor field">§</a><code>tokens: <a class="struct" href="https://doc.rust-lang.org/1.90.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="struct.TokenInput.html" title="struct cedarling::TokenInput">TokenInput</a>></code></span><div class="docblock"><p>Array of JWT tokens with explicit type mappings</p> |
8 | 8 | </div><span id="structfield.resource" class="structfield section-header"><a href="#structfield.resource" class="anchor field">§</a><code>resource: <a class="struct" href="struct.EntityData.html" title="struct cedarling::EntityData">EntityData</a></code></span><div class="docblock"><p>Resource being accessed (required for Cedar policy evaluation)</p> |
9 | 9 | </div><span id="structfield.action" class="structfield section-header"><a href="#structfield.action" class="anchor field">§</a><code>action: <a class="struct" href="https://doc.rust-lang.org/1.90.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></span><div class="docblock"><p>Action being performed (required for Cedar policy evaluation)</p> |
10 | | -</div><span id="structfield.context" class="structfield section-header"><a href="#structfield.context" class="anchor field">§</a><code>context: <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://docs.rs/serde_json/1.0.147/serde_json/value/enum.Value.html" title="enum serde_json::value::Value">Value</a>></code></span><div class="docblock"><p>Optional additional context for policy evaluation (JSON format)</p> |
| 10 | +</div><span id="structfield.context" class="structfield section-header"><a href="#structfield.context" class="anchor field">§</a><code>context: <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://docs.rs/serde_json/1.0.148/serde_json/value/enum.Value.html" title="enum serde_json::value::Value">Value</a>></code></span><div class="docblock"><p>Optional additional context for policy evaluation (JSON format)</p> |
11 | 11 | </div><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-AuthorizeMultiIssuerRequest" class="impl"><a class="src rightside" href="../src/cedarling/authz/request.rs.html#161-201">Source</a><a href="#impl-AuthorizeMultiIssuerRequest" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.AuthorizeMultiIssuerRequest.html" title="struct cedarling::AuthorizeMultiIssuerRequest">AuthorizeMultiIssuerRequest</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="../src/cedarling/authz/request.rs.html#163-170">Source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>( |
12 | 12 | tokens: <a class="struct" href="https://doc.rust-lang.org/1.90.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="struct.TokenInput.html" title="struct cedarling::TokenInput">TokenInput</a>>, |
13 | 13 | resource: <a class="struct" href="struct.EntityData.html" title="struct cedarling::EntityData">EntityData</a>, |
|
17 | 17 | tokens: <a class="struct" href="https://doc.rust-lang.org/1.90.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="struct.TokenInput.html" title="struct cedarling::TokenInput">TokenInput</a>>, |
18 | 18 | resource: <a class="struct" href="struct.EntityData.html" title="struct cedarling::EntityData">EntityData</a>, |
19 | 19 | action: <a class="struct" href="https://doc.rust-lang.org/1.90.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, |
20 | | - context: <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://docs.rs/serde_json/1.0.147/serde_json/value/enum.Value.html" title="enum serde_json::value::Value">Value</a>>, |
| 20 | + context: <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://docs.rs/serde_json/1.0.148/serde_json/value/enum.Value.html" title="enum serde_json::value::Value">Value</a>>, |
21 | 21 | ) -> Self</h4></section></summary><div class="docblock"><p>Create a new AuthorizeMultiIssuerRequest with all fields</p> |
22 | 22 | </div></details><details class="toggle method-toggle" open><summary><section id="method.validate" class="method"><a class="src rightside" href="../src/cedarling/authz/request.rs.html#188-200">Source</a><h4 class="code-header">pub fn <a href="#method.validate" class="fn">validate</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.unit.html">()</a>, MultiIssuerValidationError></h4></section></summary><div class="docblock"><p>Basic validation of JSON fields</p> |
23 | 23 | </div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-AuthorizeMultiIssuerRequest" class="impl"><a class="src rightside" href="../src/cedarling/authz/request.rs.html#149">Source</a><a href="#impl-Clone-for-AuthorizeMultiIssuerRequest" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.AuthorizeMultiIssuerRequest.html" title="struct cedarling::AuthorizeMultiIssuerRequest">AuthorizeMultiIssuerRequest</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../src/cedarling/authz/request.rs.html#149">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.AuthorizeMultiIssuerRequest.html" title="struct cedarling::AuthorizeMultiIssuerRequest">AuthorizeMultiIssuerRequest</a></h4></section></summary><div class='docblock'>Returns a duplicate of the value. <a href="https://doc.rust-lang.org/1.90.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.90.0/src/core/clone.rs.html#213-215">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.90.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-AuthorizeMultiIssuerRequest" class="impl"><a class="src rightside" href="../src/cedarling/authz/request.rs.html#149">Source</a><a href="#impl-Debug-for-AuthorizeMultiIssuerRequest" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.AuthorizeMultiIssuerRequest.html" title="struct cedarling::AuthorizeMultiIssuerRequest">AuthorizeMultiIssuerRequest</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../src/cedarling/authz/request.rs.html#149">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.90.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.90.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.90.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Deserialize%3C'de%3E-for-AuthorizeMultiIssuerRequest" class="impl"><a class="src rightside" href="../src/cedarling/authz/request.rs.html#149">Source</a><a href="#impl-Deserialize%3C'de%3E-for-AuthorizeMultiIssuerRequest" class="anchor">§</a><h3 class="code-header">impl<'de> <a class="trait" href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserialize.html" title="trait serde_core::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="struct.AuthorizeMultiIssuerRequest.html" title="struct cedarling::AuthorizeMultiIssuerRequest">AuthorizeMultiIssuerRequest</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.deserialize" class="method trait-impl"><a class="src rightside" href="../src/cedarling/authz/request.rs.html#149">Source</a><a href="#method.deserialize" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserialize.html#tymethod.deserialize" class="fn">deserialize</a><__D>(__deserializer: __D) -> <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, __D::<a class="associatedtype" href="https://docs.rs/serde_core/1.0.228/serde_core/de/trait.Deserializer.html#associatedtype.Error" title="type serde_core::de::Deserializer::Error">Error</a>><div class="where">where |
|
0 commit comments