restframework的内置认证类
认证类必须继承:from rest_framework.authentication import BaseAuthentication
其他认证类:
from rest_framework.authentication import BasicAuthentication
from rest_framework.authentication import SessionAuthentication
from rest_framework.authentication import TokenAuthentication
from rest_framework.authentication import RemoteUserAuthentication
restframework的内置认证类
猜你喜欢
转载自blog.csdn.net/study_in/article/details/84888904
今日推荐
周排行