Role Based Authentication And Authorization
i have a rest api backend from which i get the api data like for login i get this response
https://example/api/login/
https://example/api/logout/
{
"id":1,
"role":agent,
"token": fjdhenngkgirhngh,
}
https://example/api/login/
https://example/api/logout/
{
"id":1,
"role":agent,
"token": fjdhenngkgirhngh,
}
