public void clearAuthorizationData ( ) { preferences . accessToken . clear ( ) ; preferences . idToken . clear ( ) ; preferences . userIdentity . clear ( ) ; if ( BMSClient . getInstance ( ) != null && BMSClient . getInstance ( ) . getCookieManager ( ) != null ) { CookieStore cookieStore = BMSClient . getInstance ( ) . getCookieManager ( ) . getCookieStore ( ) ; if ( cookieStore != null ) { for ( URI uri : cookieStore . getURIs ( ) ) { for ( HttpCookie cookie : cookieStore . get ( uri ) ) { if ( cookie . getName ( ) . equals ( TAI_COOKIE_NAME ) ) { cookieStore . remove ( uri , cookie ) ; } } } } } }
Clear the local stored authorization data