Gjsify LogoGjsify Logo

Opaque struct. Use the accessor functions below.

record

Hierarchy

  • IdentityInfo

Index

Constructors

Properties

name: string

Methods

  • add_access_control(system_context: string, application_context: string): void
  • Add an ACL to this identity. This is an helper function.

    Parameters

    • system_context: string

      the system context to add.

    • application_context: string

      the application context to add.

    Returns void

  • free(): void
  • get_caption(): string
  • get_id(): number
  • get_methods(): HashTable<string | number | symbol, string | number | boolean>
  • get_realms(): string[]
  • get_storing_secret(): boolean
  • get_username(): string
  • remove_method(method: string): void
  • Remove method from the list of allowed authentication methods. If all methods are removed, then all methods are allowed.

    Parameters

    • method: string

      an authentication method.

    Returns void

  • Specifies the ACL for this identity. The actual meaning of the ACL depends on the security framework used by signond.

    Parameters

    • access_control_list: Signon.SecurityContext[]

      a #GList of #SignonSecurityContext representing ACL security domains.

    Returns void

  • set_caption(caption: string): void
  • set_method(method: string, mechanisms: string[]): void
  • Adds a method to the list of allowed methods. If this method is not called even once, then all methods are allowed. Mechanisms are method-specific variants of authentication.

    Parameters

    • method: string

      an authentication method.

    • mechanisms: string[]

      a %NULL-termianted list of mechanisms.

    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 signon 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