• Home
  • My Account
  • Docs
  • Catalog Browser
  • API Status
Show / Hide Table of Contents

Class NullCredentials

A class providing a null implementation of IOAuth2Credentials.

Inheritance
object
NullCredentials
Implements
IOAuth2Credentials
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: WhenFresh.Api.Client.Authentication
Assembly: WhenFresh.Api.Client.dll
Syntax
public class NullCredentials : IOAuth2Credentials

Constructors

NullCredentials()

A class providing a null implementation of IOAuth2Credentials.

Declaration
public NullCredentials()

Methods

GetTokenAsync(SendRequestDelegate, CancellationToken)

A class providing a null implementation of IOAuth2Credentials.

Declaration
public Task<Token> GetTokenAsync(SendRequestDelegate client, CancellationToken cancellationToken = default)
Parameters
Type Name Description
SendRequestDelegate client
CancellationToken cancellationToken
Returns
Type Description
Task<Token>

Implements

IOAuth2Credentials