Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'state' to AppBasedLinkQuery (for teams auth flow during link unfurling) #2194

Merged
merged 2 commits into from
May 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions libraries/botframework-connector/src/teams/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1860,6 +1860,12 @@ export const AppBasedLinkQuery: msRest.CompositeMapper = {
type: {
name: 'String'
}
},
state: {
serializedName: 'state',
type: {
name: 'String'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ export interface AnimationCard {
// @public
export interface AppBasedLinkQuery {
url?: string;
state?: string;
}

// @public
Expand Down
4 changes: 4 additions & 0 deletions libraries/botframework-schema/src/teams/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1243,6 +1243,10 @@ export interface AppBasedLinkQuery {
* @member {string} [url] Url queried by user
*/
url?: string;
/**
* @member {string} [state] State is the magic code for OAuth Flow
*/
state?: string;
}

/**
Expand Down