Gjsify LogoGjsify Logo

Opaque struct. Use the accessor functions below.

record

Hierarchy

  • IdentityInfo

Index

Constructors

Properties

name: string

Methods

  • free(): void
  • get_caption(): string
  • get_id(): number
  • get_methods(): HashTable<string | number | symbol, string | number | boolean>
  • Get a hash table of the methods and mechanisms of info. See signon_identity_info_set_methods().

    Returns HashTable<string | number | symbol, string | number | boolean>

  • get_realms(): string[]
  • get_storing_secret(): boolean
  • get_username(): string
  • own_methods(methods: HashTable<string | number | symbol, string | number | boolean>): void
  • Set authentication methods that are allowed to be used with this identity.

    This function will just increment reference count of hash table, so it should be constructed with #g_hash_table_new_full.

    Parameters

    • methods: HashTable<string | number | symbol, string | number | boolean>

      methods.

    Returns void

  • remove_method(method: string): void
  • Remove method from the list of allowed authentication methods.

    Parameters

    • method: string

      an authentication method.

    Returns void

  • set_caption(caption: string): void
  • set_method(method: string, mechanisms: string[]): void
  • Adds a method to the list of allowed authentication methods.

    Parameters

    • method: string

      an authentication method.

    • mechanisms: string[]

      a %NULL-terminated list of mechanisms.

    Returns void

  • set_methods(methods: HashTable<string | number | symbol, string | number | boolean>): void
  • Set authentication methods that are allowed to be used with this identity.

    Parameters

    • methods: HashTable<string | number | symbol, string | number | boolean>

      methods.

    Returns void

  • set_owner_from_values(system_context: string, application_context: string): void
  • Set identity owner's security context.

    Parameters

    • system_context: string

      owner's system context.

    • application_context: string

      owner's application context.

    Returns void

  • set_realms(realms: string[]): void
  • Specify what realms this identity can be used in.

    Parameters

    • realms: string[]

      a %NULL-terminated list of realms.

    Returns void

  • set_secret(secret: string, store_secret: boolean): void
  • Sets the secret (password) for the identity, and whether the gSSO daemon should remember it.

    Parameters

    • secret: string

      the secret.

    • store_secret: boolean

      whether signond should store the secret in its DB.

    Returns void

  • set_username(username: string): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method