flutter_dauth library

Classes

AuthorizationCodeGrant
AuthorizationCodeGrant class allows developer to use DAuth Authentication & Resource Services This class has all the required methods to automates the fetching proccess of accessToken And provides method to fetch user Resources using it.
DauthButton
DAuthButton is an Additional Widget Provided to Client-App to Ease the proccess of Retrival of TokenResponse
ErrorResponse
ErrorResponse is object for handling network errors.
ResourceResponse
ResourceResponse is the response-body received from Dauth server when requested for Resources using the accessToken
Scope
scope has four boolean parameters to enable scope of OpenId, Email, Profile, User and by default all are false. To use the Respective scope assign it to true.
TokenRequest
TokenRequest is the request-body used to fetch the TokenResponse from DAuth Server
TokenResponse
TokenResponse is the response-body recieved from fetchToken()