@salte-auth/cognito

WebJar for @salte-auth/cognito

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

salte-auth__cognito
Последняя версия

Последняя версия

1.0.0-rc.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

@salte-auth/cognito
WebJar for @salte-auth/cognito
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/salte-auth/cognito

Скачать salte-auth__cognito

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/salte-auth__cognito/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>salte-auth__cognito</artifactId>
    <version>1.0.0-rc.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/salte-auth__cognito/
implementation 'org.webjars.npm:salte-auth__cognito:1.0.0-rc.1'
// https://jarcasting.com/artifacts/org.webjars.npm/salte-auth__cognito/
implementation ("org.webjars.npm:salte-auth__cognito:1.0.0-rc.1")
'org.webjars.npm:salte-auth__cognito:jar:1.0.0-rc.1'
<dependency org="org.webjars.npm" name="salte-auth__cognito" rev="1.0.0-rc.1">
  <artifact name="salte-auth__cognito" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='salte-auth__cognito', version='1.0.0-rc.1')
)
libraryDependencies += "org.webjars.npm" % "salte-auth__cognito" % "1.0.0-rc.1"
[org.webjars.npm/salte-auth__cognito "1.0.0-rc.1"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.npm : salte-auth__salte-auth jar [3.0.0-rc.4,4)

Модули Проекта

Данный проект не имеет модулей.

A Salte Auth provider for authenticating with Amazon's Cognito!

DocsDemo

NPM Version NPM Downloads Travis Coveralls

semantic-release

Install

$ npm install @salte-auth/cognito

Usage

import { SalteAuth } from '@salte-auth/salte-auth';
import { Cognito } from '@salte-auth/cognito';
import { Redirect } from '@salte-auth/redirect';

/* 
 * Feel free to try out Salte Auth with this configuration!
 * 
 * It should work with the following domains:
 * - glitch.com
 * - localhost:8081
 */
const auth = new SalteAuth({
  providers: [
    new Cognito({
      responseType: 'token',
      url: 'https://salte-os.auth.us-east-1.amazoncognito.com',
      clientID: '5v4dilrda9p8cfo74gfvrc9hd4'
    })
  ],

  handlers: [
    new Redirect({
      default: true
    })
  ]
});

auth.login('cognito');
org.webjars.npm

Salte Auth

Authentication for the modern web!

Версии библиотеки

Версия
1.0.0-rc.1