enum Gio::PasswordSave

Overview

#GPasswordSave is used to indicate the lifespan of a saved password.

#Gvfs stores passwords in the Gnome keyring when this flag allows it to, and later retrieves it again from there.

Defined in:

lib/gi-crystal/src/auto/gio-2.0/gio.cr

Enum Members

Never = 0_u32

never save a password.

ForSession = 1_u32

save a password for the session.

Permanently = 2_u32

save a password permanently.

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def for_session? #

[View source]
def never? #

[View source]
def permanently? #

[View source]