Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SystemAuthenticationScriptBuilder

Hierarchy

  • SystemAuthenticationScriptBuilder

Index

Methods

abstainAnonymousConnections

addPrincipal

  • Parameters

    • principal: string
    • password: string
    • Optional roles: string[]
    • Optional lockingPrincipal: undefined | string

    Returns SystemAuthenticationScriptBuilder

    this builder, modified to contain the new principal

allowAnonymousConnections

  • Parameters

    • Optional roles: string[]

    Returns SystemAuthenticationScriptBuilder

    this builder, modified to contain the allow anonymous connections command.

assignRoles

  • Parameters

    • principal: string
    • roles: string[]

    Returns SystemAuthenticationScriptBuilder

    this builder, modified to contain the changed roles

build

  • build(): string
  • Returns string

    the script

denyAnonymousConnections

ignoreClientProposedProperty

  • Parameters

    • propertyName: string

    Returns SystemAuthenticationScriptBuilder

    this builder, modified to ignore the specified client proposed property

removePrincipal

setPassword

  • Parameters

    • principal: string
    • password: string

    Returns SystemAuthenticationScriptBuilder

    this builder, modified to contain the changed password

trustClientProposedPropertyIn

  • Parameters

    • propertyName: string
    • allowedValues: string[]

    Returns SystemAuthenticationScriptBuilder

    this builder, modified to allow the specified client proposed property if its value matches one of those supplied

trustClientProposedPropertyMatches

  • Parameters

    • propertyName: string
    • regex: string

    Returns SystemAuthenticationScriptBuilder

    this builder, modified to allow the specified client proposed property if its value matches the given regular expression

verifyPassword

  • Parameters

    • principal: string
    • password: string

    Returns SystemAuthenticationScriptBuilder

    this builder, modified to verify the password