Skip to content

Commit

Permalink
Deprecate ConversationsGrant
Browse files Browse the repository at this point in the history
  • Loading branch information
jingming committed Apr 18, 2017
1 parent 97deedc commit 01c186a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
/**
* Grant used to access Twilio Conversations.
*
* @deprecated use {@link VideoGrant} instead.
* <p>
* For more information see:
* <a href="https://www.twilio.com/docs/api/rest/access-tokens">
* https://www.twilio.com/docs/api/rest/access-tokens
* </a>
* </p>
*/
@Deprecated
public class ConversationsGrant implements Grant {

private String configurationProfileSid;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/twilio/jwt/accesstoken/VideoGrant.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
*/
public class VideoGrant implements Grant {

public String configurationProfileSid;
public String room;
private String configurationProfileSid;
private String room;

/**
* Get the configuration profile sid of this grant.
Expand Down

0 comments on commit 01c186a

Please sign in to comment.