Avatar Star Register

Avatar Star Register Rating: 8,7/10 1829 votes

Online Star Register, thank you so much for your name a star service and for successfully sending a star for me on four separate occasions. To me, the possibility to name a star is a real multi-purpose gift and each time the recipient has been pleasantly surprised and enthusiastic. Even when I needed to change the delivery address at the last.

Every StraaS member has his own resource access right and his purchase records.Before using any API related to a StraaS member(e.g. check member's permission of a VOD),you have to create a relation between your members and StraaS members. It is betterto construct the relation immediately when your new member signs up completely.

Create a new member

To create a new StraaS member, you should get an app token first(How to get an app token?).Once you get the token then send a POST request to [Create New Member API](https://straas.github.io/StraaS-web-document/#member-create-new-member)to create a new member.

A success response will look like this:

Note that, the pattern of YOUR_MEMBER'S_ID could be

  • email
  • a string with length from 3 to 50, follows regular expression '^[-_A-Za-z0-9]+$'

The detail api reference please see link.

Create a new member for message service

A name and an avatar_url are required in the message SDK.

You may build the two parameters by [Create New Member API](https://straas.github.io/StraaS-web-document/#member-create-new-member).

A success response will look like this:

You can also update the name and avatar url by [Update Member API](https://straas.github.io/StraaS-web-document/#member-update-member) later.

A success response looks like this:

Retrieve Your Member in StraaS

After the member is created, the services of StraaS can retrieve the related user information in our services. For security reason, we retrieve the member information through jwt token. Nick jr cartoons list.

You can learn how to get a member token in get member token. Note that the member token has expired period which is 24 hours, you can build a cache based on this information.

After you get a member token and provide it to our sdk, you can let your members use StraaS's service with their own identities.