Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.auth.RevokeTokenView Class Reference
Inheritance diagram for homeassistant.components.auth.RevokeTokenView:
[legend]
Collaboration diagram for homeassistant.components.auth.RevokeTokenView:
[legend]

Public Member Functions

web.Response post (self, web.Request request)
 

Static Public Attributes

bool cors_allowed = True
 
string name = "api:auth:revocation"
 
bool requires_auth = False
 
string url = "/auth/revoke"
 

Detailed Description

View to revoke tokens.

Definition at line 209 of file __init__.py.

Member Function Documentation

◆ post()

web.Response homeassistant.components.auth.RevokeTokenView.post (   self,
web.Request  request 
)
Revoke a token.

Definition at line 217 of file __init__.py.

Member Data Documentation

◆ cors_allowed

bool homeassistant.components.auth.RevokeTokenView.cors_allowed = True
static

Definition at line 215 of file __init__.py.

◆ name

string homeassistant.components.auth.RevokeTokenView.name = "api:auth:revocation"
static

Definition at line 213 of file __init__.py.

◆ requires_auth

bool homeassistant.components.auth.RevokeTokenView.requires_auth = False
static

Definition at line 214 of file __init__.py.

◆ url

string homeassistant.components.auth.RevokeTokenView.url = "/auth/revoke"
static

Definition at line 212 of file __init__.py.


The documentation for this class was generated from the following file: