Enum AuthType

AuthType

An enum that defines the authentication types that can be set for a connector.

To call an enum, you call its parent class, name, and property. For example, DataStudioApp.AuthType.OAUTH2.

Properties

PropertyTypeDescription
NONEEnumNo authorization needed.
OAUTH2EnumOAuth2 authorization needed.
USER_PASSEnumUsername and password credentials needed.
PATH_USER_PASSEnumUsername, path, and password needed.
PATH_KEYEnumPath and key needed.
KEYEnumAPI Key or Token needed.
USER_TOKENEnumUsername and token needed.