Skip to content

Type alias: AuthenticationDef

core.AuthenticationDef

Ƭ AuthenticationDef: NoAuthentication | VariousAuthentication | AsAuthDef<HeaderBearerTokenAuthentication> | AsAuthDef<CodaApiBearerTokenAuthentication> | AsAuthDef<CustomHeaderTokenAuthentication> | AsAuthDef<MultiHeaderTokenAuthentication> | AsAuthDef<QueryParamTokenAuthentication> | AsAuthDef<MultiQueryParamTokenAuthentication> | AsAuthDef<OAuth2Authentication> | AsAuthDef<OAuth2ClientCredentialsAuthentication> | AsAuthDef<WebBasicAuthentication> | AsAuthDef<AWSAccessKeyAuthentication> | AsAuthDef<AWSAssumeRoleAuthentication> | AsAuthDef<CustomAuthentication>

The union of supported authentication definitions. These represent simplified configurations a pack developer can specify when calling setUserAuthentication when using a pack definition builder. The builder massages these definitions into the form of an Authentication value, which is the value Coda ultimately cares about.

Defined in

types.ts:852