MCPcopy Create free account
hub / github.com/auth0/auth0-cli / IsAuthenticatedWithDeviceCodeFlow

Method IsAuthenticatedWithDeviceCodeFlow

internal/config/tenant.go:94–96  ·  view source on GitHub ↗

IsAuthenticatedWithDeviceCodeFlow checks to see if the tenant has been authenticated through device code flow.

()

Source from the content-addressed store, hash-verified

92// IsAuthenticatedWithDeviceCodeFlow checks to see if the
93// tenant has been authenticated through device code flow.
94func (t *Tenant) IsAuthenticatedWithDeviceCodeFlow() bool {
95 return t.ClientID == ""
96}
97
98// HasExpiredToken checks whether the tenant has an expired token.
99func (t *Tenant) HasExpiredToken() bool {

Calls

no outgoing calls