Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CredentialsProvider

jsprivate
name

CredentialsProvider

Hierarchy

  • CredentialsProvider

Index

Methods

cancel

  • cancel(): void
  • This method is called by the StreamLink library when it needs to cancel a request to get credentials.

    Returns void

onCredentialsRequired

  • Gets the credentials used to log in to the Liberator.

    This method will be called by the StreamLink library to trigger an attempt to retrieve credentials.

    This method should not block. If retrieving the credentials involves communicating with an external service then asynchronous methods should be used and control returned to the StreamLink library as quickly as possible.

    Parameters

    • listener: CredentialsReceiver

      Interface to call back on that provides StreamLink with either the credentials or an error indication.

    Returns void

Generated using TypeDoc