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
MattCorpLogininstance, passing in the correctclientnamed parameter - Call the asynchronous
loginmethod on theMattCorpLogininstance - This will return a JWT (or an error) as a string
- Consume this JWT as normal (e.g. the same as your web implementation)