Gjsify LogoGjsify Logo

Hierarchy

  • AuthDomainGenericAuthCallback

Callable

  • The prototype for a #SoupAuthDomain generic authentication callback.

    The callback should look up the user's password, call soup_auth_domain_check_password(), and use the return value from that method as its own return value.

    In general, for security reasons, it is preferable to use the auth-domain-specific auth callbacks (eg, #SoupAuthDomainBasicAuthCallback and #SoupAuthDomainDigestAuthCallback), because they don't require keeping a cleartext password database. Most users will use the same password for many different sites, meaning if any site with a cleartext password database is compromised, accounts on other servers might be compromised as well. For many of the cases where #SoupServer is used, this is not really relevant, but it may still be worth considering.

    Parameters

    • domain: Soup.AuthDomain

      a #SoupAuthDomain

    • msg: ServerMessage

      the #SoupServerMessage being authenticated

    • username: string

      the username from msg

    Returns boolean

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