ng2-ui-auth

WebJar for ng2-ui-auth

License

License

MIT
Categories

Categories

Github Development Tools Version Controls
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

github-com-ronzeidman-ng2-ui-auth
Last Version

Last Version

7.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

ng2-ui-auth
WebJar for ng2-ui-auth
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/ronzeidman/ng2-ui-auth

Download github-com-ronzeidman-ng2-ui-auth

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/github-com-ronzeidman-ng2-ui-auth/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>github-com-ronzeidman-ng2-ui-auth</artifactId>
    <version>7.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-ronzeidman-ng2-ui-auth/
implementation 'org.webjars.npm:github-com-ronzeidman-ng2-ui-auth:7.0.2'
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-ronzeidman-ng2-ui-auth/
implementation ("org.webjars.npm:github-com-ronzeidman-ng2-ui-auth:7.0.2")
'org.webjars.npm:github-com-ronzeidman-ng2-ui-auth:jar:7.0.2'
<dependency org="org.webjars.npm" name="github-com-ronzeidman-ng2-ui-auth" rev="7.0.2">
  <artifact name="github-com-ronzeidman-ng2-ui-auth" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='github-com-ronzeidman-ng2-ui-auth', version='7.0.2')
)
libraryDependencies += "org.webjars.npm" % "github-com-ronzeidman-ng2-ui-auth" % "7.0.2"
[org.webjars.npm/github-com-ronzeidman-ng2-ui-auth "7.0.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

An angular2 repository for authentication based on angular1's satellizer (https://satellizer.herokuapp.com/#/ https://github.com/sahat/satellizer) library. To use this run npm install ng2-ui-auth --save.

If you are migrating from version 7 or below, look at the changelog

for a full client + server-side example: ronzeidman/ng2-ui-auth-example. for a Go Server and extended client example: pcdummy/ng2-ui-auth-example. Just modify your main app module:

import {Ng2UiAuthModule} from 'ng2-ui-auth';

const GOOGLE_CLIENT_ID = '******\*\*******\*\*******\*\*******.apps.googleusercontent.com';

@NgModule({
imports: [
BrowserModule,
HttpClientModule,
Ng2UiAuthModule.forRoot({providers: {google: { clientId: GOOGLE_CLIENT_ID}}}),
...
]
...
})
AppModule {}

I will update https://github.com/ronzeidman/ng2-ui-auth-example with a more current and simpler example soon. If someone wishes to update it and send a pull request, he is more than welcome to do so.

If something doesn't work, feel free to issue a pull request and/or create a new issue, I'm not sure I'll be responsive though since I use it internally for my project and will only update and fix the repository if it affects my work.

If someone thinks that some of my code can be written better I encourage you to inform me.

Versions

Version
7.0.2
7.0.1