Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed Jun 16, 2024
1 parent 847e64f commit 86c1a08
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ pub fn store(chain: FieldElement, session: &SessionDetails) -> Result<PathBuf, E
/// Creates a new session token for the given set of parameters for the currently authenticated user.
/// Returns the newly created session token.
///
/// # Arguments
///
/// * `rpc_url` - The RPC URL of the chain network that you want to create a session for.
/// * `policies` - The policies that the session token will have.
///
/// # Errors
///
/// This function will return an error if there is no authenticated user.
Expand Down

0 comments on commit 86c1a08

Please sign in to comment.