enum Gio::CredentialsType

Overview

Enumeration describing different kinds of native credential types.

Defined in:

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

Enum Members

Invalid = 0_u32

Indicates an invalid native credential type.

LinuxUcred = 1_u32

The native credentials type is a struct ucred.

FreebsdCmsgcred = 2_u32

The native credentials type is a struct cmsgcred.

OpenbsdSockpeercred = 3_u32

The native credentials type is a struct sockpeercred. Added in 2.30.

SolarisUcred = 4_u32

The native credentials type is a ucred_t. Added in 2.40.

NetbsdUnpcbid = 5_u32

The native credentials type is a struct unpcbid. Added in 2.42.

AppleXucred = 6_u32

The native credentials type is a struct xucred. Added in 2.66.

Win32Pid = 7_u32

The native credentials type is a PID DWORD. Added in 2.72.

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 apple_xucred? #

[View source]
def freebsd_cmsgcred? #

[View source]
def invalid? #

[View source]
def linux_ucred? #

[View source]
def netbsd_unpcbid? #

[View source]
def openbsd_sockpeercred? #

[View source]
def solaris_ucred? #

[View source]
def win32_pid? #

[View source]