Authentication Classes

October 24, 2022 ยท View on GitHub

Token

Gotify\Auth\Token(string $token)

Class: Token

Examples

  • Create a message
  • Get all applications

Methods

Get authentication method

getAuthMethod(): string

Get token

get(): array

User

Gotify\Auth\User(string $username, string $password)

Class: User

Examples

  • Create a client

Methods

Get authentication method

getAuthMethod(): string

Get username

getUsername(): string

Get password

getPassword(): string

Contents

  1. 1Token
  2. 1.1Examples
  3. 1.2Methods
  4. 2User
  5. 2.1Examples
  6. 2.2Methods