Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • UriUser

Implements

Index

Constructors

constructor

  • new UriUser(username: undefined | string, password: undefined | string): UriUser
  • Parameters

    • username: undefined | string
    • password: undefined | string

    Returns UriUser

Properties

Readonly password

password: undefined | string

Readonly username

username: undefined | string

Methods

Protected copy

  • copy(username: undefined | string, password: undefined | string): UriUser
  • Parameters

    • username: undefined | string
    • password: undefined | string

    Returns UriUser

debug

  • debug(output: Output<unknown>): void
  • Parameters

    Returns void

display

  • display(output: Output<unknown>): void
  • Parameters

    Returns void

equals

  • equals(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

hashCode

  • hashCode(): number
  • Returns number

isDefined

  • isDefined(): boolean
  • Returns boolean

toAny

  • toAny(user?: { password?: string; username?: string }): undefined | { password?: string; username?: string }
  • Parameters

    • Optional user: { password?: string; username?: string }
      • Optional password?: string
      • Optional username?: string

    Returns undefined | { password?: string; username?: string }

toString

  • toString(): string
  • Returns string

withPassword

  • withPassword(password: undefined | string): UriUser
  • Parameters

    • password: undefined | string

    Returns UriUser

withUsername

  • withUsername(username: undefined | string): UriUser
  • Parameters

    • username: undefined | string

    Returns UriUser

Static create

  • create(username: undefined | string, password?: string): UriUser
  • Parameters

    • username: undefined | string
    • Optional password: string

    Returns UriUser

Static fromAny

  • Parameters

    Returns UriUser

Static fromInit

  • Parameters

    Returns UriUser

Static parse

  • Parameters

    • userPart: string

    Returns UriUser

Static undefined

  • Returns UriUser

Generated using TypeDoc