Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CogniteAuthentication

Index

Constructors

constructor

  • new CogniteAuthentication(__namedParameters: { baseUrl: undefined | string; project: string }): CogniteAuthentication

Methods

getCDFToken

  • getCDFToken(): Promise<AuthTokens | null>

handleLoginRedirect

  • handleLoginRedirect(): Promise<AuthTokens | null>

login

  • login(__namedParameters: { onAuthMethod: undefined | OnAuthenticate | "REDIRECT" | "POPUP" }): Promise<AuthTokens | null>