mattcorp_login 0.1.1 mattcorp_login: ^0.1.1 copied to clipboard
MattCorp Id authentication for Flutter projects. Primarily for internal use within MattCorp.
MattCorp Login (for Flutter) #
MattCorp Id authentication for Flutter projects.
About #
This package is a work-in-progress library to allow Flutter projects to easily use MattCorp Id for secure authentication. It is not recommended for use at this time.
Usage #
- Import the package
- Create a new
MattCorpLogin
instance, passing in the correctclient
named parameter - Call the asynchronous
login
method on theMattCorpLogin
instance - This will return a JWT (or an error) as a string
- Consume this JWT as normal (e.g. the same as your web implementation)