Search by name, SuiNS, address, digest, object ID, coin type or checkpoint.

API

session_token

Module0x34a2…c82c
Move path
0xbc3d…e5f9::session_token
Functions
87 public, 1 entry
Structs
4
Friend modules
None
session_token

Declarations

Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.

module session_token;
struct SessionToken<phantom T0> has store, key {
id: UID,
nft_id: ID,
field: Option<TypeName>,
expiry_ms: u64,
timeout_id: ID,
entity: address,
}
struct SessionTokenRule has drop {
dummy_field: bool,
}
struct TimeOut<phantom T0> has store, key {
id: UID,
expiry_ms: u64,
access_token: ID,
}
struct TimeOutDfKey has copy, drop, store {
nft_id: ID,
}
public fun assert_field_auth<T0: drop, T1: store + key>(&SessionToken<T1>,&borrow_request::BorrowRequest<T0, T1>)
public fun assert_parent_auth<T0: drop, T1: store + key>(&SessionToken<T1>,&borrow_request::BorrowRequest<T0, T1>)
public fun confirm<T0: drop, T1: store + key>(&SessionToken<T1>,&mut borrow_request::BorrowRequest<T0, T1>)
public fun drop<T0, T1>(&mut request::Policy<request::WithNft<T0, T1>>,&request::PolicyCap)
public entry fun enforce<T0, T1>(&mut request::Policy<request::WithNft<T0, T1>>,&request::PolicyCap)
public fun issue_session_token<T0: store + key>(&mut Kiosk,typed_id::TypedID<T0>,address,u64): ID
fun issue_session_token_<T0: store + key>(&mut Kiosk,typed_id::TypedID<T0>,address,u64,Option<TypeName>): ID
public fun issue_session_token_field<T0: store + key, T1: store>(&mut Kiosk,typed_id::TypedID<T0>,address,u64)