Initializerhummingbird-auth 2.0.1HummingbirdAuth
init(from:)
Codable decode initializer
init(from decoder: any Decoder) throws
Codable decode initializer
init(from decoder: any Decoder) throws
s15HummingbirdAuth11SessionDataV4fromACyxGs7Decoder_p_tKcfc
What are these?1I8VF
import HummingbirdAuth
@dynamicMemberLookup struct SessionData<Session> where Session : Decodable, Session : Encodable, Session : Sendable
Session data
protocol Decoder
A type that can decode values from a native format into in-memory representations.
var expiresIn: Duration?
When session will expire
subscript<T>(dynamicMember keyPath: WritableKeyPath<Session, T>) -> T { get set }
Dynamic member lookup. Sets edited
state if value in object
is mutated.
func encode(to encoder: any Encoder) throws
Codable encode