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