Package org.keycloak.social

Examples of org.keycloak.social.SocialProviderException


            user.setName(profile.has("name") ? profile.get("name").getTextValue() : null);
            user.setEmail(profile.has("email") ? profile.get("email").getTextValue() : null);

            return user;
        } catch (Exception e) {
            throw new SocialProviderException(e);
        }
    }
View Full Code Here


                    profile.has("family_name") ? profile.get("family_name").getTextValue() : null);
            user.setEmail(profile.has("email") ? profile.get("email").getTextValue() : null);

            return user;
        } catch (Exception e) {
            throw new SocialProviderException(e);
        }
    }
View Full Code Here

                    profile.has("last_name") ? profile.get("last_name").getTextValue() : null);
            user.setEmail(profile.has("email") ? email.getTextValue() : null);

            return user;
        } catch (Exception e) {
            throw new SocialProviderException(e);
        }
    }
View Full Code Here

            clientSession.setNote("twitter_token", requestToken.getToken());
            clientSession.setNote("twitter_tokenSecret", requestToken.getTokenSecret());
            return AuthRequest.create(requestToken.getAuthenticationURL())
                    .build();
        } catch (Exception e) {
            throw new SocialProviderException(e);
        }
    }
View Full Code Here

            SocialUser user = new SocialUser(Long.toString(twitterUser.getId()), twitterUser.getScreenName());
            user.setName(twitterUser.getName());

            return user;
        } catch (Exception e) {
            throw new SocialProviderException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.keycloak.social.SocialProviderException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.