@@ -697,31 +697,15 @@ export interface PostReportRequest {
697697 * Initializes a new instance of the PostSessionRequest class.
698698 * @constructor
699699 * Request to post (create) session
700- * @member {string} identityProvider Gets or sets identity provider type.
701- * Possible values include: 'Facebook', 'Microsoft', 'Google', 'Twitter',
702- * 'Beihai'
703- *
704- * @member {string} [accessToken] Gets or sets access or authentication token,
705- * user code, or verifier obtained from third-party provider.
706- * The server contacts the third-party provider to use the token
707- * (or user code, or verifier) for discover the user's identity.
708- * For S2S auth, the access token must be set to the user handle
709- *
710- * @member {string} [requestToken] Gets or sets request token obtained from
711- * third-party provider.
712- * Some providers do not issue authentication or access tokens,
713- * but they issue request tokens
714- * and verifiers.
715- *
716700 * @member {string} instanceId Gets or sets instance id -- Unique installation
717701 * id of the app
718702 *
703+ * @member {string} userHandle Gets or sets user handle
704+ *
719705 */
720706export interface PostSessionRequest {
721- identityProvider : string ;
722- accessToken ?: string ;
723- requestToken ?: string ;
724707 instanceId : string ;
708+ userHandle : string ;
725709}
726710
727711/**
@@ -769,16 +753,28 @@ export interface PostFollowerRequest {
769753
770754/**
771755 * @class
772- * Initializes a new instance of the PostFollowingRequest class.
756+ * Initializes a new instance of the PostFollowingUserRequest class.
773757 * @constructor
774- * Request to post a following (follow user)
758+ * Request to follow a user
775759 * @member {string} userHandle Gets or sets user handle
776760 *
777761 */
778- export interface PostFollowingRequest {
762+ export interface PostFollowingUserRequest {
779763 userHandle : string ;
780764}
781765
766+ /**
767+ * @class
768+ * Initializes a new instance of the PostFollowingTopicRequest class.
769+ * @constructor
770+ * Request to follow a topic
771+ * @member {string} topicHandle Gets or sets topic handle
772+ *
773+ */
774+ export interface PostFollowingTopicRequest {
775+ topicHandle : string ;
776+ }
777+
782778/**
783779 * @class
784780 * Initializes a new instance of the PostBlockedUserRequest class.
@@ -927,26 +923,11 @@ export interface GetTopicNameResponse {
927923 * Initializes a new instance of the PostLinkedAccountRequest class.
928924 * @constructor
929925 * Request to post (create) linked account
930- * @member {string} identityProvider Gets or sets identity provider type.
931- * Possible values include: 'Facebook', 'Microsoft', 'Google', 'Twitter',
932- * 'Beihai'
933- *
934- * @member {string} [accessToken] Gets or sets access or authentication token,
935- * user code, or verifier obtained from third-party provider.
936- * The server contacts the third-party provider to use the token
937- * (or user code, or verifier) for discover the user's identity.
938- *
939- * @member {string} [requestToken] Gets or sets request token obtained from
940- * third-party provider.
941- * Some providers do not issue authentication or access tokens,
942- * but they issue request tokens
943- * and verifiers.
926+ * @member {string} sessionToken Gets or sets a session token.
944927 *
945928 */
946929export interface PostLinkedAccountRequest {
947- identityProvider : string ;
948- accessToken ?: string ;
949- requestToken ?: string ;
930+ sessionToken : string ;
950931}
951932
952933/**
@@ -956,7 +937,7 @@ export interface PostLinkedAccountRequest {
956937 * Linked account view
957938 * @member {string} identityProvider Gets or sets identity provider type.
958939 * Possible values include: 'Facebook', 'Microsoft', 'Google', 'Twitter',
959- * 'Beihai '
940+ * 'AADS2S', 'SocialPlus '
960941 *
961942 * @member {string} accountId Gets or sets third party account id -- Unique
962943 * user id provided by the third-party identity provider
@@ -972,21 +953,6 @@ export interface LinkedAccountView {
972953 * Initializes a new instance of the PostUserRequest class.
973954 * @constructor
974955 * Request to post (create) user
975- * @member {string} identityProvider Gets or sets identity provider type.
976- * Possible values include: 'Facebook', 'Microsoft', 'Google', 'Twitter',
977- * 'Beihai'
978- *
979- * @member {string} [accessToken] Gets or sets access or authentication token
980- * obtained from third-party provider.
981- * The server contacts the third-party provider to validate the
982- * token
983- *
984- * @member {string} [requestToken] Gets or sets request token obtained from
985- * third-party provider.
986- * Some providers do not issue authentication or access tokens,
987- * but they issue request tokens
988- * and verifiers.
989- *
990956 * @member {string} instanceId Gets or sets instance id -- Unique installation
991957 * id of the app
992958 *
@@ -1000,9 +966,6 @@ export interface LinkedAccountView {
1000966 *
1001967 */
1002968export interface PostUserRequest {
1003- identityProvider : string ;
1004- accessToken ?: string ;
1005- requestToken ?: string ;
1006969 instanceId : string ;
1007970 firstName : string ;
1008971 lastName : string ;
0 commit comments