Struct actix_web_sql_identity::SqlIdentity[][src]

pub struct SqlIdentity { /* fields omitted */ }

Identity that uses a SQL database as identity storage

Trait Implementations

impl Identity for SqlIdentity
[src]

Returns the current identity, or none

Remembers a given user (by setting a token value)

Arguments

  • value - User to remember

Forgets a user, by deleting the identity

Saves the identity to the backing store, if it has changed

Arguments

  • resp - HTTP response to modify

Auto Trait Implementations

impl !Send for SqlIdentity

impl !Sync for SqlIdentity