Skip to content

Commit

Permalink
making auth key optional for grant and revoke
Browse files Browse the repository at this point in the history
  • Loading branch information
Devendra committed Aug 20, 2013
1 parent 2407a33 commit ef1b00c
Show file tree
Hide file tree
Showing 23 changed files with 165 additions and 40 deletions.
Binary file modified java/Pubnub-StandardEdition-3.5.4.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions java/doc/allclasses-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Jul 11 09:11:22 IST 2013 -->
<!-- Generated by javadoc (build 1.6.0_37) on Tue Aug 20 15:34:16 IST 2013 -->
<TITLE>
All Classes
</TITLE>

<META NAME="date" CONTENT="2013-07-11">
<META NAME="date" CONTENT="2013-08-20">

<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">

Expand Down
4 changes: 2 additions & 2 deletions java/doc/allclasses-noframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Jul 11 09:11:22 IST 2013 -->
<!-- Generated by javadoc (build 1.6.0_37) on Tue Aug 20 15:34:16 IST 2013 -->
<TITLE>
All Classes
</TITLE>

<META NAME="date" CONTENT="2013-07-11">
<META NAME="date" CONTENT="2013-08-20">

<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">

Expand Down
4 changes: 2 additions & 2 deletions java/doc/com/pubnub/api/Callback.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Jul 11 09:11:21 IST 2013 -->
<!-- Generated by javadoc (build 1.6.0_37) on Tue Aug 20 15:34:14 IST 2013 -->
<TITLE>
Callback
</TITLE>

<META NAME="date" CONTENT="2013-07-11">
<META NAME="date" CONTENT="2013-08-20">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">

Expand Down
4 changes: 2 additions & 2 deletions java/doc/com/pubnub/api/HttpUtil.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Jul 11 09:11:21 IST 2013 -->
<!-- Generated by javadoc (build 1.6.0_37) on Tue Aug 20 15:34:14 IST 2013 -->
<TITLE>
HttpUtil
</TITLE>

<META NAME="date" CONTENT="2013-07-11">
<META NAME="date" CONTENT="2013-08-20">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">

Expand Down
85 changes: 82 additions & 3 deletions java/doc/com/pubnub/api/Pubnub.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Jul 11 09:11:22 IST 2013 -->
<!-- Generated by javadoc (build 1.6.0_37) on Tue Aug 20 15:34:14 IST 2013 -->
<TITLE>
Pubnub
</TITLE>

<META NAME="date" CONTENT="2013-07-11">
<META NAME="date" CONTENT="2013-08-20">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">

Expand Down Expand Up @@ -530,6 +530,29 @@ <H2>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#pamGrant(java.lang.String, boolean, boolean, com.pubnub.api.Callback)">pamGrant</A></B>(java.lang.String&nbsp;channel,
boolean&nbsp;read,
boolean&nbsp;write,
<A HREF="../../../com/pubnub/api/Callback.html" title="class in com.pubnub.api">Callback</A>&nbsp;callback)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grant r/w access based on channel</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#pamGrant(java.lang.String, boolean, boolean, int, com.pubnub.api.Callback)">pamGrant</A></B>(java.lang.String&nbsp;channel,
boolean&nbsp;read,
boolean&nbsp;write,
int&nbsp;ttl,
<A HREF="../../../com/pubnub/api/Callback.html" title="class in com.pubnub.api">Callback</A>&nbsp;callback)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grant r/w access based on channel</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#pamGrant(java.lang.String, java.lang.String, boolean, boolean, com.pubnub.api.Callback)">pamGrant</A></B>(java.lang.String&nbsp;channel,
java.lang.String&nbsp;auth_key,
boolean&nbsp;read,
Expand All @@ -555,6 +578,15 @@ <H2>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#pamRevoke(java.lang.String, com.pubnub.api.Callback)">pamRevoke</A></B>(java.lang.String&nbsp;channel,
<A HREF="../../../com/pubnub/api/Callback.html" title="class in com.pubnub.api">Callback</A>&nbsp;callback)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ULS revoke by channel</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/pubnub/api/Pubnub.html#pamRevoke(java.lang.String, java.lang.String, com.pubnub.api.Callback)">pamRevoke</A></B>(java.lang.String&nbsp;channel,
java.lang.String&nbsp;auth_key,
<A HREF="../../../com/pubnub/api/Callback.html" title="class in com.pubnub.api">Callback</A>&nbsp;callback)</CODE>
Expand Down Expand Up @@ -1479,6 +1511,39 @@ <H2>
</DL>
<HR>

<A NAME="pamGrant(java.lang.String, boolean, boolean, com.pubnub.api.Callback)"><!-- --></A><H3>
pamGrant</H3>
<PRE>
public void <B>pamGrant</B>(java.lang.String&nbsp;channel,
boolean&nbsp;read,
boolean&nbsp;write,
<A HREF="../../../com/pubnub/api/Callback.html" title="class in com.pubnub.api">Callback</A>&nbsp;callback)</PRE>
<DL>
<DD>Grant r/w access based on channel
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>channel</CODE> - <DD><CODE>read</CODE> - <DD><CODE>write</CODE> - <DD><CODE>callback</CODE> - </DL>
</DD>
</DL>
<HR>

<A NAME="pamGrant(java.lang.String, boolean, boolean, int, com.pubnub.api.Callback)"><!-- --></A><H3>
pamGrant</H3>
<PRE>
public void <B>pamGrant</B>(java.lang.String&nbsp;channel,
boolean&nbsp;read,
boolean&nbsp;write,
int&nbsp;ttl,
<A HREF="../../../com/pubnub/api/Callback.html" title="class in com.pubnub.api">Callback</A>&nbsp;callback)</PRE>
<DL>
<DD>Grant r/w access based on channel
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>channel</CODE> - <DD><CODE>read</CODE> - <DD><CODE>write</CODE> - <DD><CODE>ttl</CODE> - <DD><CODE>callback</CODE> - </DL>
</DD>
</DL>
<HR>

<A NAME="pamGrant(java.lang.String, java.lang.String, boolean, boolean, int, com.pubnub.api.Callback)"><!-- --></A><H3>
pamGrant</H3>
<PRE>
Expand All @@ -1492,7 +1557,7 @@ <H2>
<DD>Grant r/w access based on channel and auth key
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>channel</CODE> - <DD><CODE>auth_key</CODE> - <DD><CODE>read</CODE> - <DD><CODE>write</CODE> - <DD><CODE>callback</CODE> - </DL>
<DT><B>Parameters:</B><DD><CODE>channel</CODE> - <DD><CODE>auth_key</CODE> - <DD><CODE>read</CODE> - <DD><CODE>write</CODE> - <DD><CODE>ttl</CODE> - <DD><CODE>callback</CODE> - </DL>
</DD>
</DL>
<HR>
Expand Down Expand Up @@ -1554,6 +1619,20 @@ <H2>
</DL>
<HR>

<A NAME="pamRevoke(java.lang.String, com.pubnub.api.Callback)"><!-- --></A><H3>
pamRevoke</H3>
<PRE>
public void <B>pamRevoke</B>(java.lang.String&nbsp;channel,
<A HREF="../../../com/pubnub/api/Callback.html" title="class in com.pubnub.api">Callback</A>&nbsp;callback)</PRE>
<DL>
<DD>ULS revoke by channel
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>channel</CODE> - <DD><CODE>callback</CODE> - </DL>
</DD>
</DL>
<HR>

<A NAME="shutdown()"><!-- --></A><H3>
shutdown</H3>
<PRE>
Expand Down
4 changes: 2 additions & 2 deletions java/doc/com/pubnub/api/PubnubError.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Jul 11 09:11:22 IST 2013 -->
<!-- Generated by javadoc (build 1.6.0_37) on Tue Aug 20 15:34:15 IST 2013 -->
<TITLE>
PubnubError
</TITLE>

<META NAME="date" CONTENT="2013-07-11">
<META NAME="date" CONTENT="2013-08-20">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">

Expand Down
4 changes: 2 additions & 2 deletions java/doc/com/pubnub/api/PubnubException.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Jul 11 09:11:22 IST 2013 -->
<!-- Generated by javadoc (build 1.6.0_37) on Tue Aug 20 15:34:15 IST 2013 -->
<TITLE>
PubnubException
</TITLE>

<META NAME="date" CONTENT="2013-07-11">
<META NAME="date" CONTENT="2013-08-20">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">

Expand Down
4 changes: 2 additions & 2 deletions java/doc/com/pubnub/api/PubnubUtil.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Jul 11 09:11:22 IST 2013 -->
<!-- Generated by javadoc (build 1.6.0_37) on Tue Aug 20 15:34:15 IST 2013 -->
<TITLE>
PubnubUtil
</TITLE>

<META NAME="date" CONTENT="2013-07-11">
<META NAME="date" CONTENT="2013-08-20">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">

Expand Down
4 changes: 2 additions & 2 deletions java/doc/com/pubnub/api/package-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Jul 11 09:11:22 IST 2013 -->
<!-- Generated by javadoc (build 1.6.0_37) on Tue Aug 20 15:34:15 IST 2013 -->
<TITLE>
com.pubnub.api
</TITLE>

<META NAME="date" CONTENT="2013-07-11">
<META NAME="date" CONTENT="2013-08-20">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">

Expand Down
4 changes: 2 additions & 2 deletions java/doc/com/pubnub/api/package-summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Jul 11 09:11:22 IST 2013 -->
<!-- Generated by javadoc (build 1.6.0_37) on Tue Aug 20 15:34:15 IST 2013 -->
<TITLE>
com.pubnub.api
</TITLE>

<META NAME="date" CONTENT="2013-07-11">
<META NAME="date" CONTENT="2013-08-20">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">

Expand Down
4 changes: 2 additions & 2 deletions java/doc/com/pubnub/api/package-tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Jul 11 09:11:22 IST 2013 -->
<!-- Generated by javadoc (build 1.6.0_37) on Tue Aug 20 15:34:15 IST 2013 -->
<TITLE>
com.pubnub.api Class Hierarchy
</TITLE>

<META NAME="date" CONTENT="2013-07-11">
<META NAME="date" CONTENT="2013-08-20">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">

Expand Down
4 changes: 2 additions & 2 deletions java/doc/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Jul 11 09:11:22 IST 2013 -->
<!-- Generated by javadoc (build 1.6.0_37) on Tue Aug 20 15:34:15 IST 2013 -->
<TITLE>
Constant Field Values
</TITLE>

<META NAME="date" CONTENT="2013-07-11">
<META NAME="date" CONTENT="2013-08-20">

<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">

Expand Down
4 changes: 2 additions & 2 deletions java/doc/deprecated-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Jul 11 09:11:22 IST 2013 -->
<!-- Generated by javadoc (build 1.6.0_37) on Tue Aug 20 15:34:16 IST 2013 -->
<TITLE>
Deprecated List
</TITLE>

<META NAME="date" CONTENT="2013-07-11">
<META NAME="date" CONTENT="2013-08-20">

<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">

Expand Down
4 changes: 2 additions & 2 deletions java/doc/help-doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Jul 11 09:11:22 IST 2013 -->
<!-- Generated by javadoc (build 1.6.0_37) on Tue Aug 20 15:34:16 IST 2013 -->
<TITLE>
API Help
</TITLE>

<META NAME="date" CONTENT="2013-07-11">
<META NAME="date" CONTENT="2013-08-20">

<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">

Expand Down
13 changes: 11 additions & 2 deletions java/doc/index-all.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Jul 11 09:11:22 IST 2013 -->
<!-- Generated by javadoc (build 1.6.0_37) on Tue Aug 20 15:34:15 IST 2013 -->
<TITLE>
Index
</TITLE>

<META NAME="date" CONTENT="2013-07-11">
<META NAME="date" CONTENT="2013-08-20">

<LINK REL ="stylesheet" TYPE="text/css" HREF="./stylesheet.css" TITLE="Style">

Expand Down Expand Up @@ -261,12 +261,21 @@
<DT><A HREF="./com/pubnub/api/Pubnub.html#pamGrant(java.lang.String, java.lang.String, boolean, boolean, com.pubnub.api.Callback)"><B>pamGrant(String, String, boolean, boolean, Callback)</B></A> -
Method in class com.pubnub.api.<A HREF="./com/pubnub/api/Pubnub.html" title="class in com.pubnub.api">Pubnub</A>
<DD>Grant r/w access based on channel and auth key
<DT><A HREF="./com/pubnub/api/Pubnub.html#pamGrant(java.lang.String, boolean, boolean, com.pubnub.api.Callback)"><B>pamGrant(String, boolean, boolean, Callback)</B></A> -
Method in class com.pubnub.api.<A HREF="./com/pubnub/api/Pubnub.html" title="class in com.pubnub.api">Pubnub</A>
<DD>Grant r/w access based on channel
<DT><A HREF="./com/pubnub/api/Pubnub.html#pamGrant(java.lang.String, boolean, boolean, int, com.pubnub.api.Callback)"><B>pamGrant(String, boolean, boolean, int, Callback)</B></A> -
Method in class com.pubnub.api.<A HREF="./com/pubnub/api/Pubnub.html" title="class in com.pubnub.api">Pubnub</A>
<DD>Grant r/w access based on channel
<DT><A HREF="./com/pubnub/api/Pubnub.html#pamGrant(java.lang.String, java.lang.String, boolean, boolean, int, com.pubnub.api.Callback)"><B>pamGrant(String, String, boolean, boolean, int, Callback)</B></A> -
Method in class com.pubnub.api.<A HREF="./com/pubnub/api/Pubnub.html" title="class in com.pubnub.api">Pubnub</A>
<DD>Grant r/w access based on channel and auth key
<DT><A HREF="./com/pubnub/api/Pubnub.html#pamRevoke(java.lang.String, java.lang.String, com.pubnub.api.Callback)"><B>pamRevoke(String, String, Callback)</B></A> -
Method in class com.pubnub.api.<A HREF="./com/pubnub/api/Pubnub.html" title="class in com.pubnub.api">Pubnub</A>
<DD>ULS revoke by channel and auth key
<DT><A HREF="./com/pubnub/api/Pubnub.html#pamRevoke(java.lang.String, com.pubnub.api.Callback)"><B>pamRevoke(String, Callback)</B></A> -
Method in class com.pubnub.api.<A HREF="./com/pubnub/api/Pubnub.html" title="class in com.pubnub.api">Pubnub</A>
<DD>ULS revoke by channel
<DT><A HREF="./com/pubnub/api/PubnubError.html#PNERR_CLIENT_TIMEOUT"><B>PNERR_CLIENT_TIMEOUT</B></A> -
Static variable in class com.pubnub.api.<A HREF="./com/pubnub/api/PubnubError.html" title="class in com.pubnub.api">PubnubError</A>
<DD>Client Timeout .
Expand Down
2 changes: 1 addition & 1 deletion java/doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Thu Jul 11 09:11:22 IST 2013-->
<!-- Generated by javadoc on Tue Aug 20 15:34:16 IST 2013-->
<TITLE>
Generated Documentation (Untitled)
</TITLE>
Expand Down
4 changes: 2 additions & 2 deletions java/doc/overview-tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_37) on Thu Jul 11 09:11:22 IST 2013 -->
<!-- Generated by javadoc (build 1.6.0_37) on Tue Aug 20 15:34:15 IST 2013 -->
<TITLE>
Class Hierarchy
</TITLE>

<META NAME="date" CONTENT="2013-07-11">
<META NAME="date" CONTENT="2013-08-20">

<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">

Expand Down
Loading

0 comments on commit ef1b00c

Please sign in to comment.