How to use the Blender ID in a third-party add-on?
The readme file in the blender cloud add-on gives more direction. This page discusses the simple way to use the Blender ID with your own add-on.


  Using the addon from another addon The following functions can be used
  from other addons to use the Blender ID functionality:
  
  blender_id.get_active_profile() returns the BlenderIdProfile that
  represents the currently logged in user, or None when the user isn't
  logged in:

class BlenderIdProfile:
    user_id = '41234'
    username = 'username@example.com'
    token = '41344124-auth-token-434134'

  
  blender_id.get_active_user_id() returns the user ID of the logged in
  user, or '' when the user isn't logged in.
  
  blender_id.is_logged_in() returns True if the user is logged in,
  and False otherwise.


As is mentioned there, you have access to the user's username (email) and whether or not they are logged in.



This is simply a module that you can import:

import blender_id

# returns True or False
print(blender_id.is_logged_in())

# user's email username
print(blender_id.get_active_profile().username)


Here is a mini demo in Blender's console: