Show / Hide Table of Contents

Class User

A user to use when sending and receiving messages.

Inheritance
object
User
EphemeralUser
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: ntfy
Assembly: ntfy.dll
Syntax
public class User

Constructors

| Improve this Doc View Source

User(string)

Creates a new user.

Declaration
public User(string accessToken)
Parameters
Type Name Description
string accessToken

The user's access token.

| Improve this Doc View Source

User(string, string)

Creates a new user.

Declaration
public User(string username, string password)
Parameters
Type Name Description
string username

The user's username.

string password

The user's password.

Methods

| Improve this Doc View Source

ToString()

Get the user as a string (the username).

Declaration
public override string ToString()
Returns
Type Description
string

The user as a string (the username).

Overrides
object.ToString()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX