All Projects → schibsted → account-sdk-android

schibsted / account-sdk-android

Licence: MIT License
⛔️ DEPRECATED Schibsted Account SDK for Android

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to account-sdk-android

Psraw
PowerShell Reddit API Wrapper
Stars: ✭ 42 (+180%)
Mutual labels:  oauth2, oauth2-client
Flask Oauthlib
YOU SHOULD USE https://github.com/lepture/authlib
Stars: ✭ 1,429 (+9426.67%)
Mutual labels:  oauth2, oauth2-client
Psmsgraph
A PowerShell module for the Microsoft Graph API
Stars: ✭ 71 (+373.33%)
Mutual labels:  oauth2, oauth2-client
Retroauth
A library build on top of retrofit, for simple handling of authenticated requests
Stars: ✭ 405 (+2600%)
Mutual labels:  oauth2, oauth2-client
Oidc.example
OIDC (OpenID Connect) Example for http://openid.net/connect/
Stars: ✭ 190 (+1166.67%)
Mutual labels:  oauth2, oauth2-client
Oauth2
OAuth2 client in Go
Stars: ✭ 20 (+33.33%)
Mutual labels:  oauth2, oauth2-client
Linkedin Api Php Client
LinkedIn API PHP SDK with OAuth 2 support. Can be used for social sign in or sharing on LinkedIn. Has a good usage examples
Stars: ✭ 88 (+486.67%)
Mutual labels:  oauth2, oauth2-client
elm-oauth2
OAuth 2.0 client-side utils in Elm
Stars: ✭ 74 (+393.33%)
Mutual labels:  oauth2, oauth2-client
Loginpass
Login with Google, GitHub, Twitter, Facebook and many other networks.
Stars: ✭ 177 (+1080%)
Mutual labels:  oauth2, oauth2-client
Auth
Authenticator via oauth2
Stars: ✭ 118 (+686.67%)
Mutual labels:  oauth2, oauth2-client
Oauth2
Go OAuth2
Stars: ✭ 3,941 (+26173.33%)
Mutual labels:  oauth2, oauth2-client
Gam
command line management for Google Workspace
Stars: ✭ 2,558 (+16953.33%)
Mutual labels:  oauth2, oauth2-client
Hiauth
HiAuth是一个开源的基于Oauth2协议的认证、授权系统。
Stars: ✭ 273 (+1720%)
Mutual labels:  oauth2, oauth2-client
Oauth2
OAuth2 framework for macOS and iOS, written in Swift.
Stars: ✭ 983 (+6453.33%)
Mutual labels:  oauth2, oauth2-client
Oauthswift
Swift based OAuth library for iOS
Stars: ✭ 2,949 (+19560%)
Mutual labels:  oauth2, oauth2-client
Capacitor Oauth2
Capacitor OAuth 2 client plugin with support for the Web, iOS and Android! Show your appreciation with a Github ★
Stars: ✭ 84 (+460%)
Mutual labels:  oauth2, oauth2-client
oxd
Client software to secure apps with OAuth 2.0, OpenID Connect, and UMA
Stars: ✭ 40 (+166.67%)
Mutual labels:  oauth2, oauth2-client
SimpleOAuth
Simple OAuth 2.0 for Android
Stars: ✭ 15 (+0%)
Mutual labels:  oauth2, oauth2-client
Hoauth2
haskell oauth2 binding
Stars: ✭ 111 (+640%)
Mutual labels:  oauth2, oauth2-client
Okhttp Oauth2 Client
Android OAuth2 client using OkHttp
Stars: ✭ 193 (+1186.67%)
Mutual labels:  oauth2, oauth2-client

DEPRECATED

This is no longer supported, please consider using the SDK Schibsted account Android SDK

Clients using this old SDK will stop working in the future

No Maintenance Intended

These SDKs allows for connecting to Schibsted Account. The functionality of the modules are described below and exists primarily in two variants; with and without UIs.

For support, please contact [email protected]

Modules

UI module
Documentation | API Reference
This module provides complete UIs for creating and logging in to accounts. using this is the recommended approach, as it handles all things the GDPR requirements for transparency. These UIs are highly customizable, so that you can get the same look and feel throughout your application. You should be familiar with the documentation of the core module as well, before implementing.

Core module
Documentation | API Reference
The core module contains all networking, models and business logic for the SDK. The UI module is built on top of this, implementing the controllers available in this module. You can implement custom UIs on top of this as well, although this is generally not recommended.

SmartLock module
Documentation | API Reference
The SmartLock module builds on top of the UI module, allowing the users to log in using SmartLock. When enabled, this will fall back to using the UIs, unless the mode is specifically set to FORCED, in which case it will return an error on failure.

Common module
API Reference
This is a module containing cross module interfaces and common utilities used by the other modules. If you're implementing a custom tracker for the UIs, this is where you'll find the interface to implement.

Getting started

To get started with either SDK, you'll need to request access to Schibsted account before you can start using them. This process is documented on the Schibsted account techdocs site. Once you have access and have created your client so that you have access to your client ID and secret, you should head over to the documentation pages.

Gradle setup

dependencies {
    implementation "com.schibsted.account:account-sdk-android-core:<VERSION>"
    // or
    implementation "com.schibsted.account:account-sdk-android-ui:<VERSION>"
}

SDK setup

To configure the SDK, you are required to have a schibsted_account.conf file in your assets. This must contain all values to be able to function. An error will be thrown if the configuration is missing. You can however manually override the configuration if you choose to store your configuration some other way (we'd recommend that you don't store secrets in the manifest).

environment: PRE
clientId: 58xxxxxxxxxxxxxxxx27
clientSecret: k8xxxxxxxxxxxxxLm

The environment can be one of DEV|PRE|PRO|PRO_NORWAY|<CUSTOM_URL>.

How can I debug my implementation?

By default, the SDK will output information about any errors which occurs with detailed information about the exception, network request and the context. To see these, please ensure your log level is set to debug for the errors, and to verbose if you want to know the context of them as well as seeing the operations the SDK is performing. You can filter on the SCHACC tag in Logcat. The debug mode of the SDK is taken from the BuildConfig.DEBUG fields, but can be overwritten by changing the value of Logger.loggingEnabled so that you can enable logging in a release version as well.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].