Token Request
nexthink_api.Models.NxtTokenRequest
Bases: BaseModel
Model for an OAuth Authentication request on the Nexthink API.
Attributes
data (Dict[str, str]):
Header for requesting the Token
data: Dict[str, str] = Field(default={'grant_type': 'client_credentials'}, frozen=True)
class-attribute
instance-attribute
get_request_header() -> dict
Return the header for requesting the token.
Returns
dict(str, str):
Header for requesting the Token