LinkedInLogin class
Created By Guru (guru@smarttersstudio.com) on 27/06/20 3:47 PM
Properties
- accessToken ↔ String?
-
If you are more Smart than us and you have already an access token,
then you can provide to authenticate or validate.
Some dumbAss may not know that access token has a expiry
getter/setter pair
- clientId ↔ String
-
Client id from LinkedIn to do something that I don't know.
getter/setter pair
- clientSecret ↔ String
-
Secret of your LinkedIn project that will be used by public users
getter/setter pair
- context ↔ BuildContext
-
Context is used for showDialog where we will show you a WebView
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- redirectUri ↔ String
-
If your authentication is success, then you will be redirected to a web page.
But as we are Smarrters' we will pop out before you enter the web page.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getEmail(
{PreferredSizeWidget? appBar, bool destroySession = true, bool forceLogin = false}) → Future< LinkedInEmail> -
getProfile(
{PreferredSizeWidget? appBar, bool destroySession = true, bool forceLogin = false}) → Future< LinkedInProfile> -
initialize(
BuildContext context, {required String clientId, required String clientSecret, required String redirectUri, String? accessToken}) → void -
loginForAccessToken(
{PreferredSizeWidget? appBar, bool destroySession = true, bool isCode = true}) → Future< String>