Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CogniteAuthentication

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 | ((login: OnAuthenticateLoginObject) => void) | "REDIRECT" | "POPUP" }): Promise<AuthTokens | null>