Skip to content
ocx
install

Auth to Channel

Authattribute#

Re-exported from ocx_sdk._typesView source
Auth

Credentials for one registry. None elsewhere means anonymous.

BasicAuthclassdataclass#

Re-exported from ocx_sdk._typesView source
class BasicAuth(user: str, password: str)

Username and password for a registry.

passwordattributeclass attributeinstance attribute#

password: str = field(repr=False)

userattributeinstance attribute#

user: str

BearerAuthclassdataclass#

Re-exported from ocx_sdk._typesView source
class BearerAuth(token: str)

A bearer token for a registry.

tokenattributeclass attributeinstance attribute#

token: str = field(repr=False)

Channelclass#

Re-exported from ocx_sdk._typesView source
class Channel(StrEnum)

Bases: StrEnum

Release channel of the dist manifest.

NEXTattributeclass attributeinstance attribute#

NEXT = 'next'

STABLEattributeclass attributeinstance attribute#

STABLE = 'stable'