Coder Social home page Coder Social logo

razer_sdk_android_sample's Introduction

Overview

Razer ID login for Apps is a fast and convenient way to streamline your Apps to have more signed-in users across various platforms. It is available for the iOS, Android, Web and the Razer Phone.

Use Cases

Razer ID Login is used in the provision of the following experiences:

User Sign Up

Razer ID provides a quick and convenient way to allow user to go onboard your Apps without the need to set a password. User can log into your App with a single click on the supported platforms. With this API, you will also be able to reach the user through their verified email or phone.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Installing

  1. Add gradle dependencies

build.gradle

repositories {
     maven {
         url 'https://mymavenrepo.com/repo/fQV6PCXrR9Q1vFXRpFex/'
         credentials {
             username 'myMavenRepo'
             password 'razer_read'
         }
     }
}
 
dependencies {
   ...
   implementation 'com.razer.android:auth-sdk:1.2.0'
   ...
}
  1. Create a Razer app in the Razer Developer Portal

Running the sample App

  1. Clone the sample project.
  2. Replace the RAZER_CLIENT_ID & RAZER_Client_SECRET in Constants.java file with the ID provided by Razer Developer Portal.
  3. Replace RAZER_CLIENT_REDIRECT_URL with your redirect URL. Constants.java
package com.razer.sample;

public class Constants {
    public static final String RAZER_CLIENT_ID = "455d83de56b1fc01dd6c4293f50b9fdc692db0f2";//please visit Razer's Developer portal for your id
    public static final String RAZER_CLIENT_SECRET = "1ee91cd6be76f8ee80a94d1850d6ed5d5966b66b";

    public static final String RAZER_CLIENT_REDIRECT_URL = "http://34.205.156.206/callback";//please visit Razer's Developer portal
    public static final String SERIALIZED_TOKEN_FILE_NAME = "razertoken";
}

razer_sdk_android_sample's People

Contributors

josephdeguzman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

razer_sdk_android_sample's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.