public static function revokeSessionsForOwnerTypeAndId($owner_type, $owner_id)
	{
		DB::table('oauth_sessions')->where('owner_type', '=', $owner_type)->where('owner_id', '=', $owner_id)->delete();
	}
public static function revokeSessionsForOwnerTypeAndId($owner_type, $owner_id)
	{
		DB::table('oauth_sessions')->where('owner_type', '=', $owner_type)->where('owner_id', '=', $owner_id)->delete();
	}
public static function revokeSessionsForOwnerTypeAndId ( $ owner_type , $ owner_id ) { DB :: table ( 'oauth_sessions' ) -> where ( 'owner_type' , '=' , $ owner_type ) -> where ( 'owner_id' , '=' , $ owner_id ) -> delete ( ) ; }
Revoke all sessions for the owner.

Access tokens will be revoked through cascades.

@todo: This should live in the OAuth2 package, but it does not currently provide a clean way
of revoking sessions and/or tokens in bulk.

@param string  $owner_type
@param integer $owner_id
Revoke all sessions for the owner .