solid_auth library

Properties

authManager ↔ AuthManager
Initialise authentication manager
getter/setter pair
currPlatform PlatformInfo
To get platform information
getter/setter pair

Functions

authenticate(Uri issuerUri, List<String> scopes, BuildContext context) Future<Map>
The authentication function
clientDynamicReg(String regEndpoint, List reidirUrlList, String authMethod, List scopes) Future<String>
Dynamically register the user in the POD server
fetchProfileData(String profUrl) Future<String>
Get public profile information from webId
genDpopToken(String endPointUrl, KeyPair rsaKeyPair, dynamic publicKeyJwk, String httpMethod) String
Generate dPoP token for the authentication
genRsaKeyPair() Future<Map>
Generate RSA key pair for the authentication
getIssuer(String textUrl) Future<String>
Get POD issuer URI
getIssuerUri(String profileRdfStr) String
Read public profile RDF file and get the issuer URI
logout(dynamic _logoutUrl) Future<bool>