Skip to content

Latest commit

 

History

History
79 lines (36 loc) · 2.04 KB

session_validator.md

File metadata and controls

79 lines (36 loc) · 2.04 KB

Module 0x3::session_validator

This module implements the session auth validator.

Struct SessionValidator

struct SessionValidator has drop, store

Constants

there defines auth validator id for each auth validator

const SESSION_VALIDATOR_ID: u64 = 0;

const SIGNATURE_SCHEME_ED25519: u8 = 0;

Function auth_validator_id

public fun auth_validator_id(): u64

Function validate

public(friend) fun validate(authenticator_payload: vector<u8>): vector<u8>