Buscar pacotes, repositórios e categorias de apps

Repositório GitHubSmarttersStudio/login_with_linkedin_flutter

entrar com o linkedin flutter

SmarttersStudio/login_with_linkedin_flutter open-source repository details.

Capa do projeto entrar com o linkedin flutter
Estrelas
2
Forks
8
Último push (UTC)
11 de out. de 2021
Status do projeto
Ativo

README original

Texto original em inglês. Visite o GitHub para a versão atual.

flutter_linkedin

  • A Flutter Package to login and get Profile Details from linkedIn.

Getting Started

Initialize LinkedInLogin class
  final String redirectUrl = 'https://smarttersstudio.com';
  final String clientId = '78el5r2y1dwp4j ';
  final String clientSecret = 'RnyXiCNz3cahNx1g ';
  
  @override
  void initState() {
    LinkedInLogin.initialize(context,
      clientId: clientId,
      clientSecret: clientSecret,
      redirectUri: redirectUrl
    );
    super.initState();
  }
Get The Token From LinkedIn
	LinkedInLogin.loginForAccessToken(
                destroySession: true,
				forceLogin : true ,
                appBar: AppBar(
                  title: Text('Demo Login Page'),
                )
         ) .then((accessToken) => print(accessToken) )
           .catchError((error){
                print(error.errorDescription);
	});
Get Your Profile
	LinkedInLogin.getProfile(
                destroySession: true,
                forceLogin: true,
                appBar: AppBar(
                  	title: Text('Demo Login Page'),
                )
         	) .then((profile) => print(profile.toJson().toString()) )
              .catchError((error){
                	print(error.errorDescription);
	});
Get Your Email
	LinkedInLogin.getEmail(
                destroySession: true,
                forceLogin: true,
                appBar: AppBar(
                  	title: Text('Demo Login Page'),
                )
         	) .then((email) => print(email.toJson().toString()) )
              .catchError((error){
                	print(error.errorDescription);
	});
Additional Information

Get The Full API Documentation from here

Smartters' Studio GitHub avatar
Autor no GitHub

Smartters' Studio ↗

LinguagensDartC++CMakeRubyCBatchfileHTMLSwiftObjective-CJavaKotlin

Categorias

Dependências usadas

Lista de dependências 4 itens

  • flutter{"sdk":"flutter"}
  • http^0.13.4
  • webview_flutter^2.1.1
  • flutter_testDesenvolvimento{"sdk":"flutter"}

Como escolher um repositório para seu projeto?

Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.

  1. Busque por nome, autor ou descrição e filtre por tema.
  2. Compare estrelas, forks e envios recentes. Estrelas indicam interesse, mas não garantem qualidade.
  3. Confira o README, a licença e as issues no GitHub antes de usar o projeto.

Fontes e manutenção

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗