Gjsify LogoGjsify Logo

Opaque struct. Use the accessor functions below.

record

Hierarchy

  • IdentityInfo

Index

Constructors

Properties

name: string

Methods

  • addAccessControl(systemContext: string, applicationContext: string): void
  • Add an ACL to this identity. This is an helper function.

    Parameters

    • systemContext: string

      the system context to add.

    • applicationContext: string

      the application context to add.

    Returns void

  • free(): void
  • getCaption(): string
  • getId(): number
  • getMethods(): HashTable<string | number | symbol, string | number | boolean>
  • Get a hash table of the methods and mechanisms of info.

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

  • getRealms(): string[]
  • getStoringSecret(): boolean
  • Get whether the secret of info should be stored.

    Returns boolean

  • getUsername(): string
  • removeMethod(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

    • accessControlList: Signon.SecurityContext[]

      a #GList of #SignonSecurityContext representing ACL security domains.

    Returns void

  • setCaption(caption: string): void
  • Sets the caption (display name) for the identity.

    Parameters

    • caption: string

      the caption.

    Returns void

  • setMethod(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

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

    Parameters

    • realms: string[]

      a %NULL-terminated list of realms.

    Returns void

  • setSecret(secret: string, storeSecret: boolean): void
  • Sets the secret (password) for the identity, and whether the signon daemon should remember it.

    Parameters

    • secret: string

      the secret.

    • storeSecret: boolean

      whether signond should store the secret in its DB.

    Returns void

  • setUsername(username: string): void
  • Sets the username for the identity.

    Parameters

    • username: string

      the username.

    Returns 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